Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 170.4 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4512/0.4512, allocations: 86.27 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 348.4 MB, free: 4.957 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 93.52 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 15.98 kB / 0.4901 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3626, allocations: 71.01 MB / 0.5594 GB, free: 43.81 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.4924, allocations: 103.3 MB / 0.6603 GB, free: 6.223 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.4927, allocations: 85.58 kB / 0.6604 GB, free: 6.141 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.509, allocations: 5.899 MB / 0.6661 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.509, allocations: 3.938 kB / 0.6661 GB, free: 232 kB / 474.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.509, allocations: 4 kB / 0.6661 GB, free: 228 kB / 474.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.000846/0.5099, allocations: 0.5866 MB / 0.6667 GB, free: 15.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.51, allocations: 8.031 kB / 0.6667 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.51, allocations: 36.56 kB / 0.6668 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.5105, allocations: 290.7 kB / 0.667 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.5105, allocations: 12.38 kB / 0.667 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.5105, allocations: 12.38 kB / 0.6671 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.511, allocations: 268.1 kB / 0.6673 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.511, allocations: 192 / 0.6673 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.5111, allocations: 7.938 kB / 0.6673 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5111, allocations: 7.938 kB / 0.6673 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.5114, allocations: 160.4 kB / 0.6675 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009008/0.5123, allocations: 0.7393 MB / 0.6682 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.5128, allocations: 218.6 kB / 0.6684 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.513, allocations: 128.9 kB / 0.6685 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.513, allocations: 7.938 kB / 0.6685 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.5133, allocations: 206.2 kB / 0.6687 GB, free: 13.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.5133, allocations: 4 kB / 0.6687 GB, free: 13.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009003/0.5142, allocations: 0.4915 MB / 0.6692 GB, free: 12.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.5143, allocations: 132.5 kB / 0.6694 GB, free: 12.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.5146, allocations: 274.7 kB / 0.6696 GB, free: 12.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.5146, allocations: 37.69 kB / 0.6697 GB, free: 12.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.5147, allocations: 152.2 kB / 0.6698 GB, free: 12.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.5148, allocations: 47.44 kB / 0.6698 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.5148, allocations: 0 / 0.6698 GB, free: 12.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5149, allocations: 338.8 kB / 0.6702 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.5152, allocations: 119.9 kB / 0.6703 GB, free: 11.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.5154, allocations: 161.1 kB / 0.6704 GB, free: 11.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.5158, allocations: 304.5 kB / 0.6707 GB, free: 11.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5159, allocations: 4 kB / 0.6707 GB, free: 11.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006388/0.5165, allocations: 416.6 kB / 0.6711 GB, free: 10.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.5165, allocations: 35.58 kB / 0.6712 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5166, allocations: 4 kB / 0.6712 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5166, allocations: 0 / 0.6712 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.5167, allocations: 35.97 kB / 0.6712 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5167, allocations: 0 / 0.6712 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.5169, allocations: 39.92 kB / 0.6712 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.5169, allocations: 16 kB / 0.6712 GB, free: 10.66 MB / 490.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.0001741/0.5171, allocations: 194.4 kB / 0.6714 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.5172, allocations: 27.72 kB / 0.6715 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.5172, allocations: 25.83 kB / 0.6715 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5172, allocations: 7.938 kB / 0.6715 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5173, allocations: 4 kB / 0.6715 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5173, allocations: 0 / 0.6715 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.5175, allocations: 301.4 kB / 0.6718 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5175, allocations: 0 / 0.6718 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.5177, allocations: 23.98 kB / 0.6718 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5177, allocations: 0 / 0.6718 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.5177, allocations: 16.08 kB / 0.6718 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5177, allocations: 3.938 kB / 0.6718 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5177, allocations: 0 / 0.6718 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.5187, allocations: 0.59 MB / 0.6724 GB, free: 9.395 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.5187, allocations: 100.8 kB / 0.6725 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5188, allocations: 8 kB / 0.6725 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.5189, allocations: 31.97 kB / 0.6725 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.519, allocations: 28.02 kB / 0.6726 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.5191, allocations: 12 kB / 0.6726 GB, free: 9.199 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.5192, allocations: 201.9 kB / 0.6728 GB, free: 9.008 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5192, allocations: 0 / 0.6728 GB, free: 9.008 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.5195, allocations: 67.97 kB / 0.6728 GB, free: 8.941 MB / 490.7 MB 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 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * 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.0001989/0.5197, allocations: 143 kB / 0.673 GB, free: 8.789 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.5203, allocations: 315.2 kB / 0.6733 GB, free: 8.469 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5203, allocations: 0 / 0.6733 GB, free: 8.469 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.5205, allocations: 199.5 kB / 0.6735 GB, free: 8.262 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.5208, allocations: 36.47 kB / 0.6735 GB, free: 8.223 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009288/0.5218, allocations: 0.5183 MB / 0.674 GB, free: 7.684 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.5221, allocations: 0.7517 MB / 0.6747 GB, free: 6.906 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.664e-05/0.5221, allocations: 13.42 kB / 0.6747 GB, free: 6.895 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.5222, allocations: 15.44 kB / 0.6748 GB, free: 6.879 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5222, allocations: 0 / 0.6748 GB, free: 6.879 MB / 490.7 MB Notification: Performance of Templates: time 0.005519/0.5277, allocations: 2.538 MB / 0.6772 GB, free: 4.363 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)