Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001341/0.001341, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001407/0.001407, allocations: 159.2 kB / 23.01 MB, free: 4.602 MB / 14.72 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.408/1.408, allocations: 177.2 MB / 203.4 MB, free: 8.895 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002435/0.002435, allocations: 229.9 kB / 260 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.924/0.924, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003003/0.003003, allocations: 98.67 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4463, allocations: 95.34 MB / 0.7404 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00297/0.4492, allocations: 1.92 MB / 0.7423 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.4504, allocations: 0.6925 MB / 0.743 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.4505, allocations: 10.09 kB / 0.743 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.4508, allocations: 86.72 kB / 0.7431 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.4509, allocations: 90.69 kB / 0.7432 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.4515, allocations: 187 kB / 0.7433 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.4518, allocations: 258.1 kB / 0.7436 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.4519, allocations: 49.33 kB / 0.7436 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.4521, allocations: 119.8 kB / 0.7438 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.4523, allocations: 148.5 kB / 0.7439 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.4523, allocations: 23.41 kB / 0.7439 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.4525, allocations: 90.5 kB / 0.744 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.4526, allocations: 59.66 kB / 0.7441 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.4527, allocations: 80.92 kB / 0.7441 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.453, allocations: 319 kB / 0.7444 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.453, allocations: 4 kB / 0.7444 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.453, allocations: 0 / 0.7444 GB, free: 15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.4531, allocations: 0 / 0.7444 GB, free: 15 MB / 0.5919 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.0007282/0.4538, allocations: 0.5125 MB / 0.7449 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4538, allocations: 11.34 kB / 0.745 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.4539, allocations: 30.5 kB / 0.745 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.4543, allocations: 254.2 kB / 0.7452 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.4544, allocations: 11.25 kB / 0.7452 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.4544, allocations: 14 kB / 0.7453 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.4548, allocations: 318.8 kB / 0.7456 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4548, allocations: 0 / 0.7456 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4548, allocations: 6.75 kB / 0.7456 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.4548, allocations: 2.75 kB / 0.7456 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.4551, allocations: 169 kB / 0.7457 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.4558, allocations: 0.5721 MB / 0.7463 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.4562, allocations: 184 kB / 0.7465 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.4563, allocations: 123.1 kB / 0.7466 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.4563, allocations: 8.531 kB / 0.7466 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.4566, allocations: 205.8 kB / 0.7468 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.4566, allocations: 0 / 0.7468 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007031/0.4573, allocations: 434.7 kB / 0.7472 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4574, allocations: 133.4 kB / 0.7473 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.4576, allocations: 271 kB / 0.7476 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4576, allocations: 28.83 kB / 0.7476 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.4577, allocations: 159.7 kB / 0.7478 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.4578, allocations: 53.67 kB / 0.7478 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.4578, allocations: 42.11 kB / 0.7479 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.4579, allocations: 332.8 kB / 0.7482 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.4581, allocations: 116 kB / 0.7483 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.4583, allocations: 219 kB / 0.7485 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.4586, allocations: 248.8 kB / 0.7487 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4586, allocations: 5.312 kB / 0.7487 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005197/0.4592, allocations: 375.5 kB / 0.7491 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.4592, allocations: 37.02 kB / 0.7491 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4592, allocations: 0 / 0.7491 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4592, allocations: 3 kB / 0.7491 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.4594, allocations: 24.27 kB / 0.7492 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4594, allocations: 7.172 kB / 0.7492 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.4595, allocations: 25.45 kB / 0.7492 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.4595, allocations: 7.625 kB / 0.7492 GB, free: 11.58 MB / 0.5919 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.0001478/0.4597, allocations: 200.4 kB / 0.7494 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.4597, allocations: 26.17 kB / 0.7494 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.4597, allocations: 25.39 kB / 0.7494 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4597, allocations: 1.531 kB / 0.7494 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4598, allocations: 0 / 0.7494 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4598, allocations: 0.7031 kB / 0.7494 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.46, allocations: 215.1 kB / 0.7496 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.46, allocations: 0.75 kB / 0.7496 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4601, allocations: 19.02 kB / 0.7497 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4601, allocations: 1.312 kB / 0.7497 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.4601, allocations: 3.891 kB / 0.7497 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4601, allocations: 1.25 kB / 0.7497 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4601, allocations: 8.625 kB / 0.7497 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.4608, allocations: 0.5249 MB / 0.7502 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.4609, allocations: 23.17 kB / 0.7502 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.4609, allocations: 7.906 kB / 0.7502 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.461, allocations: 15.98 kB / 0.7502 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.4611, allocations: 24.92 kB / 0.7503 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.4611, allocations: 6.906 kB / 0.7503 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001457/0.4613, allocations: 191.9 kB / 0.7504 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.4613, allocations: 0 / 0.7504 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003032/0.4616, allocations: 70.23 kB / 0.7505 GB, free: 10.77 MB / 0.5919 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.0001589/0.4617, allocations: 125 kB / 0.7506 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.4622, allocations: 326.3 kB / 0.7509 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4622, allocations: 0 / 0.7509 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.4624, allocations: 189.9 kB / 0.7511 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.4627, allocations: 37.08 kB / 0.7512 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.4634, allocations: 486.9 kB / 0.7516 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.4635, allocations: 139.1 kB / 0.7518 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.141e-05/0.4636, allocations: 24.72 kB / 0.7518 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.4636, allocations: 17.12 kB / 0.7518 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.4636, allocations: 0 / 0.7518 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of Templates: time 0.007343/0.471, allocations: 2.898 MB / 0.7546 GB, free: 9.469 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.922793076955713] Failed to read output from testmodel.py, exit status != 0: 0.4787381138885394 0.49021497999999997 0.03469812699999994 Calling exit ...