Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01007/0.01008, allocations: 89.77 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001151/0.001151, allocations: 179 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.244/2.244, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.47/2.47, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004965, allocations: 14.66 kB / 0.6243 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2268, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002898/0.2298, allocations: 1.63 MB / 0.7297 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2314, allocations: 0.6833 MB / 0.7303 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.2315, allocations: 7.875 kB / 0.7303 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.2318, allocations: 75.75 kB / 0.7304 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.232, allocations: 83.86 kB / 0.7305 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.2327, allocations: 127.8 kB / 0.7306 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.233, allocations: 151.6 kB / 0.7308 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2332, allocations: 61.59 kB / 0.7308 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.2334, allocations: 91.66 kB / 0.7309 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2336, allocations: 107.6 kB / 0.731 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.2337, allocations: 4 kB / 0.731 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.2338, allocations: 67.94 kB / 0.7311 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.2339, allocations: 47.81 kB / 0.7311 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.559e-05/0.234, allocations: 61.58 kB / 0.7312 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.2344, allocations: 215.8 kB / 0.7314 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2344, allocations: 0 / 0.7314 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2344, allocations: 3.938 kB / 0.7314 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2344, allocations: 0 / 0.7314 GB, free: 6.746 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001065/0.2355, allocations: 0.5429 MB / 0.7319 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2356, allocations: 12.03 kB / 0.7319 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.804e-05/0.2356, allocations: 50.55 kB / 0.732 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.2357, allocations: 31.67 kB / 0.732 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.2364, allocations: 301.5 kB / 0.7323 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.2365, allocations: 16 kB / 0.7323 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.2365, allocations: 12 kB / 0.7323 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.2371, allocations: 227.1 kB / 0.7325 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2372, allocations: 0 / 0.7325 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.2372, allocations: 8 kB / 0.7325 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2372, allocations: 7.953 kB / 0.7326 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.2376, allocations: 128.4 kB / 0.7327 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.2388, allocations: 0.6885 MB / 0.7333 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.2395, allocations: 182.7 kB / 0.7335 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2395, allocations: 0 / 0.7335 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.24, allocations: 181 kB / 0.7337 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.24, allocations: 0 / 0.7337 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.001139/0.2411, allocations: 469.9 kB / 0.7341 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.2412, allocations: 136.5 kB / 0.7343 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.2417, allocations: 278.7 kB / 0.7345 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.2417, allocations: 29.7 kB / 0.7346 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.2419, allocations: 160.2 kB / 0.7347 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.2419, allocations: 47.38 kB / 0.7348 GB, free: 3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.242, allocations: 4 kB / 0.7348 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2421, allocations: 338.8 kB / 0.7351 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.2424, allocations: 88.14 kB / 0.7352 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.2428, allocations: 137.5 kB / 0.7353 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.2431, allocations: 109.7 kB / 0.7354 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2431, allocations: 0 / 0.7354 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008195/0.2439, allocations: 342.9 kB / 0.7357 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.244, allocations: 41.69 kB / 0.7358 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.244, allocations: 0 / 0.7358 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.244, allocations: 4 kB / 0.7358 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.2443, allocations: 28.08 kB / 0.7358 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.2443, allocations: 7.938 kB / 0.7358 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.2445, allocations: 31.81 kB / 0.7358 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.2446, allocations: 8 kB / 0.7359 GB, free: 1.832 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002514/0.2448, allocations: 191.5 kB / 0.736 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.2449, allocations: 23.72 kB / 0.7361 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.245, allocations: 33.83 kB / 0.7361 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.245, allocations: 3.938 kB / 0.7361 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.245, allocations: 0 / 0.7361 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.245, allocations: 0 / 0.7361 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.2454, allocations: 293.4 kB / 0.7364 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2454, allocations: 0 / 0.7364 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.2456, allocations: 23.92 kB / 0.7364 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2456, allocations: 0 / 0.7364 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.2457, allocations: 4 kB / 0.7364 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2457, allocations: 4 kB / 0.7364 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2457, allocations: 0 / 0.7364 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.2469, allocations: 478.3 kB / 0.7369 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.247, allocations: 104.8 kB / 0.737 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.247, allocations: 8 kB / 0.737 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2472, allocations: 15.98 kB / 0.737 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2474, allocations: 27.89 kB / 0.737 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.2474, allocations: 4.188 kB / 0.737 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002777/0.2477, allocations: 205.9 kB / 0.7372 GB, free: 340 kB / 0.5573 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2477, allocations: 3.938 kB / 0.7372 GB, free: 336 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003971/0.2481, allocations: 59.94 kB / 0.7373 GB, free: 276 kB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/0.2497, allocations: 1.039 MB / 0.7383 GB, free: 15.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007608/0.2505, allocations: 303.4 kB / 0.7386 GB, free: 14.89 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2505, allocations: 256 / 0.7386 GB, free: 14.89 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.2509, allocations: 195.3 kB / 0.7388 GB, free: 14.69 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.2513, allocations: 28.48 kB / 0.7388 GB, free: 14.66 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.2555, allocations: 2.085 MB / 0.7408 GB, free: 12.51 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.2559, allocations: 0.7555 MB / 0.7416 GB, free: 11.73 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.2561, allocations: 21.53 kB / 0.7416 GB, free: 11.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.2562, allocations: 67.42 kB / 0.7416 GB, free: 11.64 MB / 0.573 GB Notification: Performance of SimCode: time 1.243e-06/0.2562, allocations: 4 kB / 0.7417 GB, free: 11.63 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.2845, allocations: 4.86 MB / 0.7464 GB, free: 6.895 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.2848, allocations: 188.1 kB / 0.7466 GB, free: 6.652 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/2.845, allocations: 4 kB / 0.7466 GB, free: 6.648 MB / 0.573 GB