Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.794/1.794, allocations: 288.3 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 178.4 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.6306 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009591/0.0009592, allocations: 99.41 kB / 0.7439 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004596, allocations: 11.03 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2526, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8293/1.082, allocations: 141.2 MB / 1.117 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.082, allocations: 86.14 kB / 1.117 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01573/1.098, allocations: 5.831 MB / 1.123 GB, free: 31.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/1.098, allocations: 0 / 1.123 GB, free: 31.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.733e-05/1.098, allocations: 3.938 kB / 1.123 GB, free: 31.93 MB / 0.698 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.0008442/1.099, allocations: 0.5902 MB / 1.124 GB, free: 31.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.099, allocations: 15.83 kB / 1.124 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/1.099, allocations: 27.28 kB / 1.124 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/1.1, allocations: 298.8 kB / 1.124 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/1.1, allocations: 11.44 kB / 1.124 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/1.1, allocations: 11.44 kB / 1.124 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/1.1, allocations: 259.6 kB / 1.124 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.1, allocations: 0 / 1.124 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/1.1, allocations: 11.8 kB / 1.124 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/1.1, allocations: 3.844 kB / 1.124 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/1.101, allocations: 160 kB / 1.124 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/1.101, allocations: 0.7401 MB / 1.125 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/1.102, allocations: 216.7 kB / 1.125 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/1.102, allocations: 0 / 1.125 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/1.102, allocations: 211.5 kB / 1.126 GB, free: 30.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/1.102, allocations: 0 / 1.126 GB, free: 30.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0009286/1.103, allocations: 0.5556 MB / 1.126 GB, free: 30.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/1.103, allocations: 132.5 kB / 1.126 GB, free: 30.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/1.104, allocations: 255.7 kB / 1.126 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/1.104, allocations: 31.94 kB / 1.126 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/1.104, allocations: 157.2 kB / 1.127 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/1.104, allocations: 40 kB / 1.127 GB, free: 29.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/1.104, allocations: 7.969 kB / 1.127 GB, free: 29.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.104, allocations: 346.2 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/1.104, allocations: 116.5 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/1.104, allocations: 160.2 kB / 1.127 GB, free: 29.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/1.105, allocations: 142 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.105, allocations: 0 / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005987/1.105, allocations: 415.7 kB / 1.128 GB, free: 29.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/1.105, allocations: 44.31 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.105, allocations: 4 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.105, allocations: 0 / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/1.105, allocations: 28.64 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.105, allocations: 3.875 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/1.106, allocations: 40.25 kB / 1.128 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/1.106, allocations: 17.41 kB / 1.128 GB, free: 29.38 MB / 0.698 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.0001877/1.106, allocations: 192.4 kB / 1.128 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/1.106, allocations: 27.23 kB / 1.128 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/1.106, allocations: 30.2 kB / 1.128 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.106, allocations: 0 / 1.128 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.106, allocations: 0 / 1.128 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.106, allocations: 6.344 kB / 1.128 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/1.106, allocations: 302.7 kB / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.106, allocations: 0 / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.106, allocations: 22.17 kB / 1.129 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.106, allocations: 0 / 1.129 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/1.106, allocations: 11.3 kB / 1.129 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.106, allocations: 0 / 1.129 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.106, allocations: 0 / 1.129 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/1.107, allocations: 0.5872 MB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/1.107, allocations: 95.61 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/1.107, allocations: 10.84 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/1.108, allocations: 35.64 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/1.108, allocations: 27.52 kB / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/1.108, allocations: 17.72 kB / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000169/1.108, allocations: 205.6 kB / 1.129 GB, free: 28.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.108, allocations: 0 / 1.129 GB, free: 28.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003124/1.108, allocations: 62 kB / 1.13 GB, free: 28.68 MB / 0.698 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 (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.0002277/1.108, allocations: 140.2 kB / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004741/1.109, allocations: 322.6 kB / 1.13 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/1.109, allocations: 0 / 1.13 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/1.109, allocations: 196 kB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/1.109, allocations: 33.89 kB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008938/1.11, allocations: 0.5213 MB / 1.131 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/1.111, allocations: 0.7611 MB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.852e-05/1.111, allocations: 16.05 kB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/1.111, allocations: 18.3 kB / 1.131 GB, free: 27.45 MB / 0.698 GB Notification: Performance of SimCode: time 3.9e-07/1.111, allocations: 0 / 1.131 GB, free: 27.45 MB / 0.698 GB Notification: Performance of Templates: time 0.005218/1.116, allocations: 2.512 MB / 1.134 GB, free: 26.56 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)