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.002052/0.002052, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002454/0.002454, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.691/1.691, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.292/3.292, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 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 2.815e-06/2.815e-06, allocations: 0 / 1.001 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.781e-05, allocations: 6.281 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00558/0.005618, allocations: 1.936 MB / 1.003 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.008206, allocations: 0.7088 MB / 1.004 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.008545, allocations: 7.938 kB / 1.004 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.009039, allocations: 83.58 kB / 1.004 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.009394, allocations: 91.56 kB / 1.004 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.0107, allocations: 186.5 kB / 1.004 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008381/0.01153, allocations: 263.4 kB / 1.004 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.01185, allocations: 48.69 kB / 1.004 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.01238, allocations: 163.6 kB / 1.004 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004519/0.01284, allocations: 135.7 kB / 1.005 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.755e-05/0.01293, allocations: 24 kB / 1.005 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.01323, allocations: 87.94 kB / 1.005 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.01339, allocations: 55.77 kB / 1.005 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.01356, allocations: 67.83 kB / 1.005 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008792/0.01444, allocations: 334.9 kB / 1.005 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.01445, allocations: 0 / 1.005 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.895e-06/0.01445, allocations: 0 / 1.005 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.01447, allocations: 0 / 1.005 GB, free: 7.707 MB / 0.9167 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.001544/0.01601, allocations: 0.5103 MB / 1.006 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.01607, allocations: 9.344 kB / 1.006 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.0162, allocations: 28.75 kB / 1.006 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008203/0.01702, allocations: 244.9 kB / 1.006 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.01706, allocations: 12.38 kB / 1.006 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.01712, allocations: 16.38 kB / 1.006 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.01789, allocations: 304.8 kB / 1.006 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.01791, allocations: 192 / 1.006 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.01795, allocations: 12.12 kB / 1.006 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.01796, allocations: 0 / 1.006 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.01842, allocations: 167.5 kB / 1.006 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01986, allocations: 0.5674 MB / 1.007 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.02045, allocations: 188.2 kB / 1.007 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.02075, allocations: 118.7 kB / 1.007 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.02078, allocations: 4.031 kB / 1.007 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004743/0.02125, allocations: 206.7 kB / 1.007 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.02125, allocations: 0 / 1.007 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.001172/0.02242, allocations: 438.5 kB / 1.008 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.02258, allocations: 136.5 kB / 1.008 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.0231, allocations: 277.8 kB / 1.008 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.02315, allocations: 33.8 kB / 1.008 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.02335, allocations: 156.3 kB / 1.008 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.02343, allocations: 43.64 kB / 1.008 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.02356, allocations: 41.7 kB / 1.009 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002674/0.02383, allocations: 334.8 kB / 1.009 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.02414, allocations: 117.7 kB / 1.009 GB, free: 3.508 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.02457, allocations: 214.2 kB / 1.009 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/0.02517, allocations: 244.6 kB / 1.009 GB, free: 3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.02517, allocations: 0 / 1.009 GB, free: 3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009471/0.02612, allocations: 382.5 kB / 1.01 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.02619, allocations: 40.52 kB / 1.01 GB, free: 2.566 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.0262, allocations: 8.078 kB / 1.01 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.02623, allocations: 4 kB / 1.01 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.02642, allocations: 19.98 kB / 1.01 GB, free: 2.535 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.02643, allocations: 4 kB / 1.01 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.02663, allocations: 19.88 kB / 1.01 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.02666, allocations: 12 kB / 1.01 GB, free: 2.5 MB / 0.9167 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.0002984/0.02696, allocations: 192.3 kB / 1.01 GB, free: 2.297 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.02704, allocations: 35.78 kB / 1.01 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.618e-05/0.02711, allocations: 29.78 kB / 1.01 GB, free: 2.234 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02711, allocations: 0 / 1.01 GB, free: 2.234 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.02712, allocations: 0 / 1.01 GB, free: 2.234 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.02713, allocations: 3.984 kB / 1.01 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.0275, allocations: 209.1 kB / 1.01 GB, free: 1.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.0275, allocations: 0 / 1.01 GB, free: 1.996 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.02765, allocations: 15.98 kB / 1.01 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.02766, allocations: 3.938 kB / 1.01 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.02768, allocations: 4 kB / 1.01 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.02769, allocations: 0 / 1.01 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.02769, allocations: 3.984 kB / 1.01 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.02896, allocations: 0.5276 MB / 1.011 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.02902, allocations: 27.77 kB / 1.011 GB, free: 1.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.02908, allocations: 8 kB / 1.011 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.02924, allocations: 11.98 kB / 1.011 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.02936, allocations: 23.95 kB / 1.011 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.0294, allocations: 7.984 kB / 1.011 GB, free: 1.328 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003119/0.02971, allocations: 193.2 kB / 1.011 GB, free: 1.141 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/0.02971, allocations: 64 / 1.011 GB, free: 1.141 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000491/0.0302, allocations: 63.89 kB / 1.011 GB, free: 1.078 MB / 0.9167 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.0003617/0.03056, allocations: 146.1 kB / 1.011 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008962/0.03146, allocations: 318.7 kB / 1.012 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.03146, allocations: 3.938 kB / 1.012 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.03189, allocations: 185.2 kB / 1.012 GB, free: 400 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.03238, allocations: 42.05 kB / 1.012 GB, free: 360 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.03371, allocations: 478.5 kB / 1.012 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.03394, allocations: 144.7 kB / 1.012 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.03406, allocations: 21.47 kB / 1.012 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.03413, allocations: 16.5 kB / 1.012 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of SimCode: time 9.12e-07/0.03414, allocations: 0 / 1.012 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of Templates: time 0.01126/0.0454, allocations: 2.874 MB / 1.015 GB, free: 12.82 MB / 0.9323 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: 10.219700381159782]