Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.762/4.762, allocations: 0.5623 GB / 0.5776 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002763/0.002762, allocations: 357.8 kB / 0.6446 GB, free: 21.53 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.399/4.399, allocations: 410.7 MB / 1.113 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001826/0.001825, allocations: 188.6 kB / 1.226 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006479/0.0006481, allocations: 13.72 kB / 1.349 GB, free: 321.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2141, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002382/0.2165, allocations: 1.62 MB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.218, allocations: 0.6891 MB / 1.464 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.2181, allocations: 5.938 kB / 1.464 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2183, allocations: 71.75 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.2185, allocations: 77.2 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.2191, allocations: 136 kB / 1.464 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.2194, allocations: 220.9 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.2196, allocations: 53.12 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2197, allocations: 87.66 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.2199, allocations: 116.3 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.22, allocations: 5.875 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.2201, allocations: 75.92 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.2202, allocations: 43.83 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.2203, allocations: 57.58 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.2206, allocations: 211.6 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2206, allocations: 4.688 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2206, allocations: 3.938 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2206, allocations: 4.75 kB / 1.465 GB, free: 217.3 MB / 0.8073 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.0009548/0.2216, allocations: 0.5427 MB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2216, allocations: 8.75 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.2217, allocations: 35.58 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.2223, allocations: 303 kB / 1.466 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.2224, allocations: 12 kB / 1.466 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.2224, allocations: 12 kB / 1.466 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.2229, allocations: 224.3 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.223, allocations: 6.281 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.223, allocations: 4 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.223, allocations: 4 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.2234, allocations: 132.4 kB / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.2244, allocations: 0.7015 MB / 1.467 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.225, allocations: 174.4 kB / 1.467 GB, free: 215 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.2252, allocations: 101.7 kB / 1.467 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2253, allocations: 0 / 1.467 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/0.2257, allocations: 180.7 kB / 1.467 GB, free: 214.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 2.275e-06/0.2257, allocations: 0 / 1.467 GB, free: 214.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0009445/0.2267, allocations: 381.3 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.2267, allocations: 132.5 kB / 1.468 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.2271, allocations: 286.6 kB / 1.468 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.2271, allocations: 34.36 kB / 1.468 GB, free: 213.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2272, allocations: 153 kB / 1.468 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.2273, allocations: 43.45 kB / 1.468 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.2273, allocations: 1.188 kB / 1.468 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.2274, allocations: 338.8 kB / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.2277, allocations: 85.2 kB / 1.468 GB, free: 213.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.2279, allocations: 143.7 kB / 1.469 GB, free: 213 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.2282, allocations: 113.4 kB / 1.469 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2282, allocations: 3.938 kB / 1.469 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000721/0.2289, allocations: 344.5 kB / 1.469 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.229, allocations: 41.69 kB / 1.469 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.229, allocations: 0 / 1.469 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2291, allocations: 5.062 kB / 1.469 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.2293, allocations: 23.98 kB / 1.469 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.2293, allocations: 0.6562 kB / 1.469 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.2295, allocations: 36.61 kB / 1.469 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.2296, allocations: 4.531 kB / 1.469 GB, free: 212.5 MB / 0.8073 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.0002037/0.2298, allocations: 197 kB / 1.469 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.2298, allocations: 27.66 kB / 1.469 GB, free: 212.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.2299, allocations: 33.83 kB / 1.469 GB, free: 212.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2299, allocations: 2.156 kB / 1.469 GB, free: 212.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2299, allocations: 0 / 1.469 GB, free: 212.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.23, allocations: 92.83 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.2301, allocations: 8 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.2303, allocations: 17.08 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.2304, allocations: 27.95 kB / 1.47 GB, free: 212 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001166/0.2316, allocations: 0.5198 MB / 1.47 GB, free: 211.5 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001012/0.2326, allocations: 0.6084 MB / 1.471 GB, free: 210.9 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002771/0.2329, allocations: 129.2 kB / 1.471 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002272/0.2331, allocations: 199 kB / 1.471 GB, free: 210.6 MB / 0.8073 GB Notification: Performance of Backend: time 7.62e-07/0.2331, allocations: 0 / 1.471 GB, free: 210.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009068/0.2341, allocations: 323.8 kB / 1.471 GB, free: 210.2 MB / 0.8073 GB Notification: Performance of SimCode: time 0.001067/0.2351, allocations: 0.9698 MB / 1.472 GB, free: 209.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.008226/0.2434, allocations: 2.616 MB / 1.475 GB, free: 206.7 MB / 0.8073 GB