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.001293/0.001293, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00138/0.00138, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 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.001/1.001, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.001706/0.001706, allocations: 245.8 kB / 260.5 MB, free: 12.7 MB / 250.7 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.6872/0.6872, allocations: 138.4 MB / 402.2 MB, free: 60 kB / 362.7 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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 462.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.095e-05, allocations: 3.078 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003135/0.003156, allocations: 1.971 MB / 464.3 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.004484, allocations: 0.7327 MB / 465 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.004598, allocations: 7.156 kB / 465 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.00486, allocations: 83.44 kB / 465.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.00503, allocations: 100.1 kB / 465.2 MB, free: 15.06 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.005594, allocations: 186.4 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.005926, allocations: 257.3 kB / 465.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.006073, allocations: 55.53 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.006303, allocations: 155.4 kB / 465.8 MB, free: 14.76 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.006519, allocations: 123 kB / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.006561, allocations: 19.28 kB / 466 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.006719, allocations: 84.17 kB / 466 MB, free: 14.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.026e-05/0.006799, allocations: 58.55 kB / 466.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.053e-05/0.006879, allocations: 62.31 kB / 466.2 MB, free: 14.63 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.007211, allocations: 233.2 kB / 466.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.007213, allocations: 0 / 466.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007214, allocations: 0 / 466.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.007218, allocations: 4.625 kB / 466.4 MB, free: 14.43 MB / 426.7 MB 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.0006344/0.007853, allocations: 476.3 kB / 466.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.007891, allocations: 11.38 kB / 466.9 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.007957, allocations: 32.91 kB / 466.9 MB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.008248, allocations: 204.7 kB / 467.1 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.008279, allocations: 12.38 kB / 467.1 MB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.008318, allocations: 12.38 kB / 467.1 MB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.00868, allocations: 259.2 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.008692, allocations: 10.5 kB / 467.4 MB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.008711, allocations: 8.375 kB / 467.4 MB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.008724, allocations: 9.406 kB / 467.4 MB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.008851, allocations: 68.97 kB / 467.5 MB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007178/0.009569, allocations: 463.1 kB / 467.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.009751, allocations: 132.1 kB / 468.1 MB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.009822, allocations: 59.25 kB / 468.1 MB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.009835, allocations: 5.672 kB / 468.1 MB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.01002, allocations: 149.6 kB / 468.3 MB, free: 12.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.01002, allocations: 0 / 468.3 MB, free: 12.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002945/0.01032, allocations: 204.4 kB / 468.5 MB, free: 12.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.0104, allocations: 137.8 kB / 468.6 MB, free: 12.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01061, allocations: 236.8 kB / 468.8 MB, free: 11.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.01064, allocations: 25.7 kB / 468.9 MB, free: 11.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.01073, allocations: 137.6 kB / 469 MB, free: 11.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.01077, allocations: 39.64 kB / 469 MB, free: 11.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.01085, allocations: 46.23 kB / 469.1 MB, free: 11.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01097, allocations: 338.8 kB / 469.4 MB, free: 11.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.01104, allocations: 49.23 kB / 469.5 MB, free: 11.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01115, allocations: 151.1 kB / 469.6 MB, free: 10.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.01131, allocations: 150.4 kB / 469.7 MB, free: 10.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01131, allocations: 0 / 469.7 MB, free: 10.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002097/0.01152, allocations: 177.3 kB / 469.9 MB, free: 10.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.01156, allocations: 45.62 kB / 470 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01156, allocations: 0 / 470 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01157, allocations: 4.875 kB / 470 MB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01168, allocations: 23.92 kB / 470 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.01168, allocations: 8.641 kB / 470 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.302e-05/0.01178, allocations: 26.09 kB / 470 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.01179, allocations: 7.938 kB / 470 MB, free: 10.47 MB / 426.7 MB 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.0001234/0.01191, allocations: 163.7 kB / 470.2 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.01195, allocations: 19.98 kB / 470.2 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.01199, allocations: 25.7 kB / 470.2 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01199, allocations: 2.906 kB / 470.2 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.012, allocations: 4.938 kB / 470.2 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.012, allocations: 0 / 470.2 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.01232, allocations: 135.1 kB / 470.4 MB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01232, allocations: 2 kB / 470.4 MB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.0124, allocations: 15.98 kB / 470.4 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.0124, allocations: 0 / 470.4 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01242, allocations: 0 / 470.4 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01242, allocations: 4 kB / 470.4 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01242, allocations: 4.594 kB / 470.4 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.01273, allocations: 266.6 kB / 470.7 MB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.01275, allocations: 24.86 kB / 470.7 MB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.01279, allocations: 11.98 kB / 470.7 MB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.01286, allocations: 5.312 kB / 470.7 MB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.01292, allocations: 32.39 kB / 470.7 MB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.01294, allocations: 9.141 kB / 470.7 MB, free: 9.699 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.425e-05/0.01303, allocations: 78.77 kB / 470.8 MB, free: 9.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01303, allocations: 0 / 470.8 MB, free: 9.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00027/0.0133, allocations: 60.64 kB / 470.9 MB, free: 9.562 MB / 426.7 MB 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.0001708/0.01347, allocations: 117.8 kB / 471 MB, free: 9.441 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.0137, allocations: 212.2 kB / 471.2 MB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.01371, allocations: 4 kB / 471.2 MB, free: 9.207 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.01382, allocations: 133.9 kB / 471.3 MB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.014, allocations: 30.33 kB / 471.4 MB, free: 9.027 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.01459, allocations: 420.9 kB / 471.8 MB, free: 8.586 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.01465, allocations: 85.03 kB / 471.9 MB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.035e-05/0.01472, allocations: 18.95 kB / 471.9 MB, free: 8.473 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.01488, allocations: 95.34 kB / 472 MB, free: 8.379 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01488, allocations: 3.938 kB / 472 MB, free: 8.375 MB / 426.7 MB Notification: Performance of Templates: time 0.006259/0.02114, allocations: 3.125 MB / 475.1 MB, free: 5.512 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.544440634083003]