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.0007191/0.0007191, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.00169, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008235/0.0008235, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009431/0.001767, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.219 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09205/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.47 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001261/0.001261, allocations: 238.3 kB / 244.4 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009652/0.002226, allocations: 467.7 kB / 244.8 MB, free: 14.05 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6738/0.6738, allocations: 138.7 MB / 384.3 MB, free: 340 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07748/0.7513, allocations: 42.4 MB / 426.7 MB, free: 5.809 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.533e-06/1.533e-06, allocations: 0 / 428 MB, free: 4.484 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.033e-05, allocations: 2.312 kB / 428 MB, free: 4.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002332/0.002352, allocations: 2.017 MB / 430.1 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.003293, allocations: 0.7476 MB / 430.8 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.003401, allocations: 3.938 kB / 430.8 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.003566, allocations: 91.56 kB / 430.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.003669, allocations: 99.61 kB / 431 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.004078, allocations: 175.5 kB / 431.2 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.00436, allocations: 263.4 kB / 431.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.004478, allocations: 54.75 kB / 431.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.004658, allocations: 171.7 kB / 431.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.004817, allocations: 111.7 kB / 431.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.004847, allocations: 20 kB / 431.8 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.004986, allocations: 99.84 kB / 431.9 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.005044, allocations: 47.86 kB / 431.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.005098, allocations: 51.81 kB / 432 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.005335, allocations: 203.2 kB / 432.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.005346, allocations: 0 / 432.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.005347, allocations: 0 / 432.2 MB, free: 332 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.005357, allocations: 4 kB / 432.2 MB, free: 328 kB / 410.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.2075/0.2129, allocations: 0.4998 MB / 432.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2129, allocations: 11.11 kB / 432.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.213, allocations: 27.81 kB / 432.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.2133, allocations: 206.2 kB / 432.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.2133, allocations: 12.78 kB / 432.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.2133, allocations: 15.59 kB / 432.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.2136, allocations: 263.4 kB / 433.2 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2136, allocations: 1.812 kB / 433.2 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2136, allocations: 5.625 kB / 433.2 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2137, allocations: 8.5 kB / 433.2 MB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.2137, allocations: 76.58 kB / 433.3 MB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.2142, allocations: 463.7 kB / 433.7 MB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2143, allocations: 139.6 kB / 433.9 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.2144, allocations: 60.38 kB / 433.9 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.2144, allocations: 5.312 kB / 433.9 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.2145, allocations: 145.8 kB / 434.1 MB, free: 1.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/0.2145, allocations: 1.25 kB / 434.1 MB, free: 1.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002346/0.2148, allocations: 217.8 kB / 434.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.2148, allocations: 173.3 kB / 434.5 MB, free: 1.332 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2149, allocations: 228 kB / 434.7 MB, free: 1.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.215, allocations: 33.98 kB / 434.7 MB, free: 1.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.215, allocations: 133.8 kB / 434.9 MB, free: 1.098 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.2151, allocations: 48.11 kB / 434.9 MB, free: 1.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.2151, allocations: 41.89 kB / 434.9 MB, free: 1.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2152, allocations: 336.6 kB / 435.3 MB, free: 16.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.2153, allocations: 54.34 kB / 435.3 MB, free: 16.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.2154, allocations: 160.8 kB / 435.5 MB, free: 16.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2155, allocations: 152.7 kB / 435.6 MB, free: 16.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2155, allocations: 0 / 435.6 MB, free: 16.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001809/0.2157, allocations: 181.4 kB / 435.8 MB, free: 16.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.2157, allocations: 42.61 kB / 435.8 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2157, allocations: 7.188 kB / 435.9 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2157, allocations: 0 / 435.9 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.2158, allocations: 29.19 kB / 435.9 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.2158, allocations: 1.172 kB / 435.9 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.2159, allocations: 22.72 kB / 435.9 MB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2159, allocations: 4.484 kB / 435.9 MB, free: 16.33 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.0001123/0.216, allocations: 166.6 kB / 436.1 MB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.216, allocations: 21.64 kB / 436.1 MB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.2161, allocations: 26.8 kB / 436.1 MB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2161, allocations: 2.25 kB / 436.1 MB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.2161, allocations: 0 / 436.1 MB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2161, allocations: 1.75 kB / 436.1 MB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.2162, allocations: 130.5 kB / 436.3 MB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2162, allocations: 3.156 kB / 436.3 MB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.2163, allocations: 14.75 kB / 436.3 MB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.2163, allocations: 22.34 kB / 436.3 MB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2163, allocations: 0.6562 kB / 436.3 MB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2163, allocations: 5.25 kB / 436.3 MB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2163, allocations: 6.781 kB / 436.3 MB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2163, allocations: 1 kB / 436.3 MB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.2166, allocations: 280.2 kB / 436.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2166, allocations: 9.812 kB / 436.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.2167, allocations: 8.797 kB / 436.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.2167, allocations: 33.11 kB / 436.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.2167, allocations: 4.672 kB / 436.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.2168, allocations: 76.83 kB / 436.7 MB, free: 15.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2168, allocations: 0.625 kB / 436.7 MB, free: 15.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.217, allocations: 58.8 kB / 436.8 MB, free: 15.9 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.000168/0.2172, allocations: 128.4 kB / 436.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.2174, allocations: 212.7 kB / 437.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.2174, allocations: 6.109 kB / 437.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.2175, allocations: 142.4 kB / 437.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2177, allocations: 226.5 kB / 437.5 MB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.2184, allocations: 416.6 kB / 437.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.542e-05/0.2184, allocations: 87.14 kB / 438 MB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.053e-05/0.2185, allocations: 18.97 kB / 438 MB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2186, allocations: 96.72 kB / 438.1 MB, free: 15.03 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2186, allocations: 0.5 kB / 438.1 MB, free: 15.03 MB / 426.7 MB Notification: Performance of Templates: time 0.006124/0.2247, allocations: 3.22 MB / 441.3 MB, free: 14.93 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.3953901240602136]