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.002623/0.002623, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.004566/0.004566, allocations: 216 kB / 23.02 MB, free: 2.953 MB / 13.93 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.691/1.691, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] 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 3.418/3.418, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003489/0.003489, allocations: 67.89 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9905/0.994, allocations: 180 MB / 1.353 GB, free: 1.586 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003788/0.9978, allocations: 1.932 MB / 1.355 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.9993, allocations: 0.6973 MB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.9994, allocations: 4 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.9996, allocations: 83.64 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.9998, allocations: 99.55 kB / 1.356 GB, free: 14.76 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/1, allocations: 186.3 kB / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003645/1.001, allocations: 267.2 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/1.001, allocations: 45.94 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/1.001, allocations: 115.7 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/1.001, allocations: 159.4 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/1.001, allocations: 20 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/1.001, allocations: 87.92 kB / 1.356 GB, free: 13.9 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/1.002, allocations: 55.78 kB / 1.357 GB, free: 13.84 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/1.002, allocations: 83.53 kB / 1.357 GB, free: 13.76 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004598/1.002, allocations: 318.7 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.002, allocations: 0 / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.543e-06/1.002, allocations: 0 / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.002, allocations: 3.938 kB / 1.357 GB, free: 13.45 MB / 1.042 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.0009605/1.003, allocations: 0.5103 MB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.003, allocations: 8.922 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/1.003, allocations: 40.75 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/1.004, allocations: 237.2 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/1.004, allocations: 8.375 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/1.004, allocations: 20.33 kB / 1.358 GB, free: 12.57 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/1.004, allocations: 316.8 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.004, allocations: 0 / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/1.004, allocations: 12 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.004, allocations: 0 / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/1.005, allocations: 166 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/1.006, allocations: 0.5675 MB / 1.359 GB, free: 11.43 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/1.006, allocations: 184.2 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/1.006, allocations: 126.6 kB / 1.359 GB, free: 11.1 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/1.006, allocations: 0 / 1.359 GB, free: 11.1 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003368/1.007, allocations: 202.8 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/1.007, allocations: 3.938 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of matching and sorting (n=15): time 0.0008249/1.008, allocations: 433.6 kB / 1.36 GB, free: 10.43 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.008, allocations: 136.5 kB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/1.008, allocations: 269.9 kB / 1.36 GB, free: 9.992 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/1.008, allocations: 37.7 kB / 1.36 GB, free: 9.949 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/1.008, allocations: 156.3 kB / 1.36 GB, free: 9.793 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/1.008, allocations: 55.56 kB / 1.36 GB, free: 9.738 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/1.008, allocations: 37.72 kB / 1.36 GB, free: 9.695 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.009, allocations: 334.8 kB / 1.361 GB, free: 9.359 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.009, allocations: 117.7 kB / 1.361 GB, free: 9.238 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/1.009, allocations: 222.1 kB / 1.361 GB, free: 8.984 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/1.009, allocations: 248.5 kB / 1.361 GB, free: 8.719 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.009, allocations: 0 / 1.361 GB, free: 8.719 MB / 1.042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000609/1.01, allocations: 374.6 kB / 1.362 GB, free: 8.336 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/1.01, allocations: 41.69 kB / 1.362 GB, free: 8.289 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.01, allocations: 0 / 1.362 GB, free: 8.289 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.01, allocations: 4 kB / 1.362 GB, free: 8.285 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.01, allocations: 24.02 kB / 1.362 GB, free: 8.262 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/1.01, allocations: 8 kB / 1.362 GB, free: 8.254 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/1.01, allocations: 19.88 kB / 1.362 GB, free: 8.234 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/1.01, allocations: 12 kB / 1.362 GB, free: 8.223 MB / 1.042 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 0.0002097/1.011, allocations: 188 kB / 1.362 GB, free: 8.023 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/1.011, allocations: 27.86 kB / 1.362 GB, free: 7.996 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/1.011, allocations: 29.75 kB / 1.362 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.011, allocations: 0 / 1.362 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.011, allocations: 0 / 1.362 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.011, allocations: 4 kB / 1.362 GB, free: 7.957 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/1.011, allocations: 213.1 kB / 1.362 GB, free: 7.719 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/1.011, allocations: 96 / 1.362 GB, free: 7.719 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.011, allocations: 23.86 kB / 1.362 GB, free: 7.695 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/1.011, allocations: 4 kB / 1.362 GB, free: 7.691 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/1.011, allocations: 4 kB / 1.362 GB, free: 7.688 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.011, allocations: 4 kB / 1.362 GB, free: 7.684 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.011, allocations: 0 / 1.362 GB, free: 7.684 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000875/1.012, allocations: 0.5329 MB / 1.363 GB, free: 7.113 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/1.012, allocations: 23.83 kB / 1.363 GB, free: 7.09 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/1.012, allocations: 8 kB / 1.363 GB, free: 7.082 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.012, allocations: 11.98 kB / 1.363 GB, free: 7.07 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/1.012, allocations: 23.95 kB / 1.363 GB, free: 7.047 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/1.012, allocations: 8 kB / 1.363 GB, free: 7.039 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0002096/1.013, allocations: 193.2 kB / 1.363 GB, free: 6.855 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 1.363 GB, free: 6.855 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003054/1.013, allocations: 63.83 kB / 1.363 GB, free: 6.793 MB / 1.042 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.000232/1.013, allocations: 128 kB / 1.363 GB, free: 6.66 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006049/1.014, allocations: 326.6 kB / 1.363 GB, free: 6.316 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.014, allocations: 0 / 1.363 GB, free: 6.316 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/1.014, allocations: 185 kB / 1.364 GB, free: 6.117 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/1.014, allocations: 36.61 kB / 1.364 GB, free: 6.082 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/1.015, allocations: 479.9 kB / 1.364 GB, free: 5.582 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/1.015, allocations: 140.7 kB / 1.364 GB, free: 5.43 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.995e-05/1.015, allocations: 17.42 kB / 1.364 GB, free: 5.41 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/1.015, allocations: 15.44 kB / 1.364 GB, free: 5.395 MB / 1.042 GB Notification: Performance of SimCode: time 5.61e-07/1.015, allocations: 0 / 1.364 GB, free: 5.395 MB / 1.042 GB Notification: Performance of Templates: time 0.00786/1.023, allocations: 3.097 MB / 1.367 GB, free: 2.348 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.394693633541465]