Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002595/0.002599, allocations: 357.6 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.527/1.527, allocations: 165.8 MB / 183.1 MB, free: 5.445 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.345/4.345, allocations: 410.7 MB / 0.6001 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002668/0.002667, allocations: 202.2 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004633, allocations: 8 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4953, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003115/0.4984, allocations: 1.605 MB / 0.8103 GB, free: 27.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.5003, allocations: 0.689 MB / 0.811 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.5005, allocations: 7.938 kB / 0.811 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.5007, allocations: 71.81 kB / 0.8111 GB, free: 26.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.5009, allocations: 75.7 kB / 0.8111 GB, free: 26.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008016/0.5018, allocations: 135.7 kB / 0.8113 GB, free: 26.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.5022, allocations: 219.4 kB / 0.8115 GB, free: 25.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.5024, allocations: 49.66 kB / 0.8115 GB, free: 25.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.5026, allocations: 87.66 kB / 0.8116 GB, free: 25.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.5029, allocations: 111.6 kB / 0.8117 GB, free: 25.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.5029, allocations: 4 kB / 0.8117 GB, free: 25.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.5031, allocations: 79.86 kB / 0.8118 GB, free: 25.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.5032, allocations: 39.83 kB / 0.8118 GB, free: 25.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.5033, allocations: 61.58 kB / 0.8119 GB, free: 25.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.5038, allocations: 215.5 kB / 0.8121 GB, free: 25.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5038, allocations: 0 / 0.8121 GB, free: 25.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.5038, allocations: 0 / 0.8121 GB, free: 25.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.5038, allocations: 3.938 kB / 0.8121 GB, free: 25.33 MB / 378.7 MB 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.001204/0.505, allocations: 0.5468 MB / 0.8126 GB, free: 24.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.5051, allocations: 12.03 kB / 0.8126 GB, free: 24.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.5052, allocations: 31.61 kB / 0.8127 GB, free: 24.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007737/0.506, allocations: 301.5 kB / 0.813 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.5061, allocations: 15.95 kB / 0.813 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.5062, allocations: 16 kB / 0.813 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.5069, allocations: 231.1 kB / 0.8132 GB, free: 24.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5069, allocations: 0 / 0.8132 GB, free: 24.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.507, allocations: 8 kB / 0.8132 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.507, allocations: 4 kB / 0.8132 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.5076, allocations: 136.3 kB / 0.8133 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.5092, allocations: 0.6886 MB / 0.814 GB, free: 23.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.51, allocations: 182.4 kB / 0.8142 GB, free: 23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.5104, allocations: 101 kB / 0.8143 GB, free: 22.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.5104, allocations: 4 kB / 0.8143 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005202/0.511, allocations: 172.3 kB / 0.8145 GB, free: 22.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 5.24e-06/0.511, allocations: 96 / 0.8145 GB, free: 22.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001324/0.5123, allocations: 386.9 kB / 0.8148 GB, free: 22.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.5124, allocations: 136.5 kB / 0.815 GB, free: 22.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.5129, allocations: 282.6 kB / 0.8152 GB, free: 21.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.5129, allocations: 29.7 kB / 0.8153 GB, free: 21.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.5131, allocations: 152.4 kB / 0.8154 GB, free: 21.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.628e-05/0.5132, allocations: 47.33 kB / 0.8154 GB, free: 21.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.5132, allocations: 4 kB / 0.8154 GB, free: 21.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5133, allocations: 346.8 kB / 0.8158 GB, free: 21.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.5137, allocations: 88.14 kB / 0.8159 GB, free: 21.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.5141, allocations: 140.1 kB / 0.816 GB, free: 21.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.5145, allocations: 123.4 kB / 0.8161 GB, free: 20.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5145, allocations: 0 / 0.8161 GB, free: 20.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009942/0.5155, allocations: 339.1 kB / 0.8164 GB, free: 20.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.5156, allocations: 41.69 kB / 0.8165 GB, free: 20.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.5156, allocations: 4 kB / 0.8165 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5156, allocations: 3.953 kB / 0.8165 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.5159, allocations: 27.92 kB / 0.8165 GB, free: 20.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.516, allocations: 3.984 kB / 0.8165 GB, free: 20.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.5163, allocations: 31.92 kB / 0.8165 GB, free: 20.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.5163, allocations: 8 kB / 0.8166 GB, free: 20.45 MB / 378.7 MB 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.0002688/0.5166, allocations: 192.1 kB / 0.8167 GB, free: 20.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.5167, allocations: 23.72 kB / 0.8168 GB, free: 20.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.5168, allocations: 29.84 kB / 0.8168 GB, free: 20.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5168, allocations: 7.938 kB / 0.8168 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5168, allocations: 0 / 0.8168 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.5169, allocations: 96.77 kB / 0.8169 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.517, allocations: 16 kB / 0.8169 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.5173, allocations: 11.98 kB / 0.8169 GB, free: 20.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5175, allocations: 31.94 kB / 0.8169 GB, free: 20.02 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001601/0.5191, allocations: 0.498 MB / 0.8174 GB, free: 19.49 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001481/0.5206, allocations: 0.6242 MB / 0.818 GB, free: 18.85 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003979/0.521, allocations: 124 kB / 0.8182 GB, free: 18.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003456/0.5214, allocations: 205.9 kB / 0.8184 GB, free: 18.53 MB / 378.7 MB Notification: Performance of Backend: time 1.844e-06/0.5214, allocations: 0 / 0.8184 GB, free: 18.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.5227, allocations: 319.5 kB / 0.8187 GB, free: 18.2 MB / 378.7 MB Notification: Performance of SimCode: time 0.001431/0.5242, allocations: 0.9538 MB / 0.8196 GB, free: 17.19 MB / 378.7 MB Notification: Performance of Templates: time 0.0109/0.5351, allocations: 2.623 MB / 0.8222 GB, free: 14.59 MB / 378.7 MB