Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9563/0.9563, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.85/1.85, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.093e-05, allocations: 6.25 kB / 0.7754 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002701/0.002722, allocations: 2.032 MB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003818, allocations: 0.73 MB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.003932, allocations: 0.875 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.00414, allocations: 84.3 kB / 0.7781 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.004243, allocations: 96.22 kB / 0.7782 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.004672, allocations: 177.1 kB / 0.7784 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.004949, allocations: 264.3 kB / 0.7786 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.005068, allocations: 54.73 kB / 0.7787 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.005227, allocations: 159.7 kB / 0.7788 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.005371, allocations: 121.6 kB / 0.779 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.005396, allocations: 16 kB / 0.779 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.005535, allocations: 95.92 kB / 0.7791 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.005599, allocations: 60.58 kB / 0.7791 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.00566, allocations: 63.77 kB / 0.7792 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.005898, allocations: 223.2 kB / 0.7794 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.0059, allocations: 1.281 kB / 0.7794 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.31e-07/0.005901, allocations: 4 kB / 0.7794 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.005905, allocations: 0 / 0.7794 GB, free: 1.16 MB / 0.7292 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.0005327/0.006438, allocations: 478.7 kB / 0.7799 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.006474, allocations: 9.344 kB / 0.7799 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.006531, allocations: 32.91 kB / 0.7799 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.006769, allocations: 202.2 kB / 0.7801 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.006795, allocations: 16.38 kB / 0.7801 GB, free: 400 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.006821, allocations: 13.12 kB / 0.7801 GB, free: 388 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.00706, allocations: 261.9 kB / 0.7804 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.007069, allocations: 192 / 0.7804 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.00708, allocations: 4.375 kB / 0.7804 GB, free: 76 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.007086, allocations: 7.938 kB / 0.7804 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.007172, allocations: 81.56 kB / 0.7805 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.007613, allocations: 453 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.007748, allocations: 141.5 kB / 0.781 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.007792, allocations: 62.55 kB / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.007802, allocations: 4 kB / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.007928, allocations: 146.1 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.007929, allocations: 1.344 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002018/0.008131, allocations: 222.7 kB / 0.7814 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.008182, allocations: 136.5 kB / 0.7816 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.008309, allocations: 225.6 kB / 0.7818 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.008328, allocations: 29.7 kB / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.008386, allocations: 138 kB / 0.782 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.008412, allocations: 47.56 kB / 0.782 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.008459, allocations: 37.69 kB / 0.782 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.008542, allocations: 343.8 kB / 0.7824 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.008599, allocations: 52.52 kB / 0.7824 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.008672, allocations: 155.3 kB / 0.7826 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.008773, allocations: 145.9 kB / 0.7827 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.008776, allocations: 0 / 0.7827 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000148/0.008924, allocations: 200.9 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.008952, allocations: 37.64 kB / 0.7829 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.008957, allocations: 1.031 kB / 0.7829 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.008967, allocations: 4 kB / 0.7829 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.009045, allocations: 27.92 kB / 0.783 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.009051, allocations: 9.359 kB / 0.783 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.00911, allocations: 15.94 kB / 0.783 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.009122, allocations: 8 kB / 0.783 GB, free: 13.14 MB / 0.7448 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 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.009221, allocations: 163.7 kB / 0.7831 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.009245, allocations: 19.98 kB / 0.7832 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.009279, allocations: 30.64 kB / 0.7832 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.009283, allocations: 4 kB / 0.7832 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.009286, allocations: 0 / 0.7832 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.009289, allocations: 0.875 kB / 0.7832 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.009403, allocations: 129.8 kB / 0.7833 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.009404, allocations: 0.5625 kB / 0.7833 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.009465, allocations: 16.56 kB / 0.7833 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.009468, allocations: 3.984 kB / 0.7833 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.009482, allocations: 15.23 kB / 0.7834 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.009484, allocations: 0 / 0.7834 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.009487, allocations: 3.938 kB / 0.7834 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.009727, allocations: 278.7 kB / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.009748, allocations: 15.86 kB / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.009773, allocations: 8 kB / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.00982, allocations: 11.98 kB / 0.7837 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.009874, allocations: 34.86 kB / 0.7837 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.009888, allocations: 8 kB / 0.7837 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.009941, allocations: 74.77 kB / 0.7838 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009941, allocations: 0 / 0.7838 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001617/0.0101, allocations: 59.89 kB / 0.7838 GB, free: 12.22 MB / 0.7448 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 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001405/0.01024, allocations: 112.3 kB / 0.7839 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.01042, allocations: 217 kB / 0.7841 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.01043, allocations: 4 kB / 0.7841 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.01052, allocations: 139 kB / 0.7843 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.01066, allocations: 33.58 kB / 0.7843 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.0111, allocations: 424.8 kB / 0.7847 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.01114, allocations: 83.81 kB / 0.7848 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.173e-05/0.01119, allocations: 22.95 kB / 0.7848 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.0113, allocations: 99.34 kB / 0.7849 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01131, allocations: 0 / 0.7849 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.004999/0.0163, allocations: 3.133 MB / 0.788 GB, free: 8.039 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.825568091124296]