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.0008361/0.0008361, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009326/0.0009326, allocations: 165 kB / 24.17 MB, free: 328 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 1.01/1.01, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.978/1.978, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.924e-06/1.924e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.704e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003067/0.003094, allocations: 2.025 MB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.004136, allocations: 0.7251 MB / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.004236, allocations: 4 kB / 0.7779 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.004441, allocations: 85.36 kB / 0.778 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.004545, allocations: 100.7 kB / 0.778 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.00495, allocations: 168.9 kB / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.005195, allocations: 264.9 kB / 0.7785 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.005315, allocations: 54.75 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.005473, allocations: 167.6 kB / 0.7787 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.005618, allocations: 116.3 kB / 0.7788 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.005646, allocations: 20.59 kB / 0.7788 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.00578, allocations: 99.91 kB / 0.7789 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.005838, allocations: 56.86 kB / 0.779 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.005893, allocations: 59.78 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.006123, allocations: 223.3 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006125, allocations: 1.219 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.11e-07/0.006126, allocations: 0 / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.00613, allocations: 0 / 0.7792 GB, free: 1.27 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.0005969/0.006727, allocations: 482.4 kB / 0.7797 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.006756, allocations: 9.344 kB / 0.7797 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.006801, allocations: 26.67 kB / 0.7797 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.006999, allocations: 212.7 kB / 0.7799 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.007016, allocations: 12.38 kB / 0.7799 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.00704, allocations: 17 kB / 0.78 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.007268, allocations: 252.9 kB / 0.7802 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.007275, allocations: 4.125 kB / 0.7802 GB, free: 188 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.007288, allocations: 14.14 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.007295, allocations: 7.938 kB / 0.7802 GB, free: 168 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.007365, allocations: 68.92 kB / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.0078, allocations: 448.5 kB / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.007918, allocations: 142.1 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.007963, allocations: 62.55 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.007972, allocations: 0 / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.008093, allocations: 154.4 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.008094, allocations: 0 / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002217/0.008316, allocations: 211.5 kB / 0.7813 GB, free: 15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.008361, allocations: 136.5 kB / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.00849, allocations: 233.5 kB / 0.7816 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.008506, allocations: 25.7 kB / 0.7816 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.008563, allocations: 133.4 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.008591, allocations: 48.91 kB / 0.7818 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.008639, allocations: 41.69 kB / 0.7818 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.008721, allocations: 334.8 kB / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.175e-05/0.008762, allocations: 52.52 kB / 0.7822 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.008838, allocations: 152.2 kB / 0.7824 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.008938, allocations: 145.4 kB / 0.7825 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.00894, allocations: 0.5312 kB / 0.7825 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001459/0.009086, allocations: 184.7 kB / 0.7827 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.009143, allocations: 46.12 kB / 0.7827 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.009148, allocations: 0.5312 kB / 0.7827 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.00916, allocations: 8 kB / 0.7827 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.009233, allocations: 20.88 kB / 0.7827 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.009237, allocations: 7.984 kB / 0.7828 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.009553, allocations: 20.94 kB / 0.7828 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.009563, allocations: 7.938 kB / 0.7828 GB, free: 13.28 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.45e-05/0.009658, allocations: 167.8 kB / 0.7829 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.009681, allocations: 20.92 kB / 0.783 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.009711, allocations: 25.7 kB / 0.783 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.009713, allocations: 4.844 kB / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009715, allocations: 3.938 kB / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.009719, allocations: 3.984 kB / 0.783 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.009824, allocations: 128.3 kB / 0.7831 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.009825, allocations: 0 / 0.7831 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.009877, allocations: 12 kB / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.009878, allocations: 0 / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.00989, allocations: 7.984 kB / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.009891, allocations: 0 / 0.7831 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.009893, allocations: 6.688 kB / 0.7831 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.01011, allocations: 274.3 kB / 0.7834 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.01013, allocations: 15.86 kB / 0.7834 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.01015, allocations: 8 kB / 0.7834 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.0102, allocations: 11.98 kB / 0.7834 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.01025, allocations: 31.89 kB / 0.7835 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.01026, allocations: 5.125 kB / 0.7835 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.01032, allocations: 74.77 kB / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01032, allocations: 0 / 0.7836 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000165/0.01048, allocations: 59.89 kB / 0.7836 GB, free: 12.38 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.0001271/0.01061, allocations: 118.2 kB / 0.7837 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.01078, allocations: 208.4 kB / 0.7839 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.01078, allocations: 1.188 kB / 0.7839 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.01086, allocations: 141.9 kB / 0.7841 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.01101, allocations: 37.12 kB / 0.7841 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.01146, allocations: 420 kB / 0.7845 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.668e-05/0.0115, allocations: 85.56 kB / 0.7846 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.163e-05/0.01155, allocations: 20.44 kB / 0.7846 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.01168, allocations: 103.3 kB / 0.7847 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.01168, allocations: 3.938 kB / 0.7847 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.004998/0.01668, allocations: 3.128 MB / 0.7878 GB, free: 8.211 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.984380219131708]