Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.55/2.55, allocations: 287.5 MB / 303.2 MB, free: 8.219 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.001334/0.001334, allocations: 178.5 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0009971/0.0009966, allocations: 89.84 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005158/0.000516, allocations: 15.25 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.228, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9407/1.169, allocations: 141.1 MB / 1.117 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.169, allocations: 87.23 kB / 1.117 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02534/1.195, allocations: 5.853 MB / 1.123 GB, free: 31.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.195, allocations: 0 / 1.123 GB, free: 31.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.134e-05/1.195, allocations: 3.875 kB / 1.123 GB, free: 31.07 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.001161/1.196, allocations: 0.5954 MB / 1.123 GB, free: 30.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.196, allocations: 11.53 kB / 1.123 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.867e-05/1.196, allocations: 28 kB / 1.123 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/1.197, allocations: 300.1 kB / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/1.197, allocations: 6.906 kB / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/1.197, allocations: 17.84 kB / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/1.197, allocations: 265.2 kB / 1.124 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.197, allocations: 3.562 kB / 1.124 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/1.197, allocations: 14.31 kB / 1.124 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.197, allocations: 7.797 kB / 1.124 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/1.198, allocations: 165.2 kB / 1.124 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/1.199, allocations: 0.725 MB / 1.125 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/1.2, allocations: 219.7 kB / 1.125 GB, free: 29.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/1.2, allocations: 129.8 kB / 1.125 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/1.2, allocations: 7.75 kB / 1.125 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/1.201, allocations: 213.8 kB / 1.125 GB, free: 29.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.615e-06/1.201, allocations: 0 / 1.125 GB, free: 29.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001422/1.202, allocations: 494.6 kB / 1.126 GB, free: 29.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/1.202, allocations: 131.3 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/1.203, allocations: 279.1 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/1.203, allocations: 33.05 kB / 1.126 GB, free: 29.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/1.203, allocations: 158.7 kB / 1.126 GB, free: 29.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/1.203, allocations: 41.36 kB / 1.127 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/1.203, allocations: 7.75 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.203, allocations: 343.5 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/1.203, allocations: 116.2 kB / 1.127 GB, free: 28.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/1.204, allocations: 164.5 kB / 1.127 GB, free: 28.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/1.205, allocations: 305 kB / 1.127 GB, free: 28.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.205, allocations: 0 / 1.127 GB, free: 28.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001031/1.206, allocations: 415.3 kB / 1.128 GB, free: 28.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/1.206, allocations: 33.39 kB / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.206, allocations: 0 / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.206, allocations: 3.844 kB / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/1.206, allocations: 36.97 kB / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.206, allocations: 0 / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/1.206, allocations: 40.94 kB / 1.128 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.206, allocations: 14.84 kB / 1.128 GB, free: 28.52 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.0002318/1.207, allocations: 195.3 kB / 1.128 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/1.207, allocations: 31.19 kB / 1.128 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/1.207, allocations: 26.83 kB / 1.128 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.207, allocations: 0 / 1.128 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.207, allocations: 0 / 1.128 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.207, allocations: 3.875 kB / 1.128 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/1.207, allocations: 312.6 kB / 1.128 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.207, allocations: 96 / 1.128 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/1.207, allocations: 21.97 kB / 1.129 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.207, allocations: 0 / 1.129 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/1.207, allocations: 10.59 kB / 1.129 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.207, allocations: 3.844 kB / 1.129 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.207, allocations: 0 / 1.129 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/1.209, allocations: 0.5922 MB / 1.129 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/1.209, allocations: 92.64 kB / 1.129 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/1.209, allocations: 7.656 kB / 1.129 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/1.209, allocations: 36.94 kB / 1.129 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.209, allocations: 27.94 kB / 1.129 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/1.209, allocations: 13.72 kB / 1.129 GB, free: 27.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002394/1.21, allocations: 200.2 kB / 1.129 GB, free: 27.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.21, allocations: 0 / 1.129 GB, free: 27.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004223/1.21, allocations: 65.81 kB / 1.13 GB, free: 27.81 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.0002471/1.21, allocations: 143.4 kB / 1.13 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007675/1.211, allocations: 313.7 kB / 1.13 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.211, allocations: 4.188 kB / 1.13 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003836/1.212, allocations: 198.3 kB / 1.13 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/1.212, allocations: 32.44 kB / 1.13 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/1.213, allocations: 0.5217 MB / 1.131 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.214, allocations: 0.7547 MB / 1.131 GB, free: 26.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001219/1.214, allocations: 20.22 kB / 1.131 GB, free: 26.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/1.214, allocations: 25.7 kB / 1.131 GB, free: 26.58 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/1.214, allocations: 0 / 1.131 GB, free: 26.58 MB / 0.698 GB Notification: Performance of Templates: time 0.007836/1.222, allocations: 2.521 MB / 1.134 GB, free: 26.41 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)