Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001408/0.001408, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001482/0.001482, allocations: 162.2 kB / 23.76 MB, free: 4.195 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.456/1.456, allocations: 177.2 MB / 204.1 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9532/0.9532, allocations: 113.9 MB / 374.5 MB, free: 12.92 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: IBPSA 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.002162/0.002162, allocations: 67.89 kB / 0.555 GB, free: 2.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1717, allocations: 89.13 MB / 0.6421 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00364/0.1753, allocations: 1.909 MB / 0.6439 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1768, allocations: 0.7013 MB / 0.6446 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1769, allocations: 4 kB / 0.6446 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1772, allocations: 83.62 kB / 0.6447 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.1773, allocations: 95.58 kB / 0.6448 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.178, allocations: 186.7 kB / 0.645 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.1784, allocations: 259.4 kB / 0.6452 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1786, allocations: 54.09 kB / 0.6453 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1787, allocations: 115.7 kB / 0.6454 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.179, allocations: 151.5 kB / 0.6455 GB, free: 6.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.179, allocations: 20 kB / 0.6456 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1792, allocations: 95.92 kB / 0.6456 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.1792, allocations: 55.78 kB / 0.6457 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1794, allocations: 83.52 kB / 0.6458 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.1798, allocations: 310.8 kB / 0.6461 GB, free: 5.461 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1798, allocations: 0 / 0.6461 GB, free: 5.461 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1798, allocations: 0 / 0.6461 GB, free: 5.461 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.1798, allocations: 0 / 0.6461 GB, free: 5.461 MB / 0.545 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.000905/0.1807, allocations: 0.518 MB / 0.6466 GB, free: 4.906 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1807, allocations: 8.031 kB / 0.6466 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.1808, allocations: 36.75 kB / 0.6466 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.1813, allocations: 241.6 kB / 0.6469 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.1813, allocations: 16.12 kB / 0.6469 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.1814, allocations: 12 kB / 0.6469 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.1818, allocations: 312.2 kB / 0.6472 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1819, allocations: 0 / 0.6472 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.1819, allocations: 8 kB / 0.6472 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1819, allocations: 4 kB / 0.6472 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1822, allocations: 162 kB / 0.6473 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.183, allocations: 0.5714 MB / 0.6479 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.1834, allocations: 188.3 kB / 0.6481 GB, free: 3.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.1836, allocations: 122.5 kB / 0.6482 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1836, allocations: 4 kB / 0.6482 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.1839, allocations: 202.8 kB / 0.6484 GB, free: 2.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1839, allocations: 3.938 kB / 0.6484 GB, free: 2.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007592/0.1847, allocations: 441.6 kB / 0.6488 GB, free: 2.434 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.1848, allocations: 140.5 kB / 0.649 GB, free: 2.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.185, allocations: 261.9 kB / 0.6492 GB, free: 1.996 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1851, allocations: 33.7 kB / 0.6492 GB, free: 1.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.1852, allocations: 160.4 kB / 0.6494 GB, free: 1.793 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.1853, allocations: 43.62 kB / 0.6494 GB, free: 1.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.1853, allocations: 37.7 kB / 0.6495 GB, free: 1.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1855, allocations: 346.7 kB / 0.6498 GB, free: 1.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1857, allocations: 117.7 kB / 0.6499 GB, free: 1.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.186, allocations: 220.4 kB / 0.6501 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.1864, allocations: 249.5 kB / 0.6504 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1864, allocations: 7.938 kB / 0.6504 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005622/0.1869, allocations: 368.8 kB / 0.6507 GB, free: 344 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.187, allocations: 37.69 kB / 0.6508 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.187, allocations: 12.08 kB / 0.6508 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.187, allocations: 4 kB / 0.6508 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1871, allocations: 27.92 kB / 0.6508 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1871, allocations: 0 / 0.6508 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.1873, allocations: 23.94 kB / 0.6508 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1873, allocations: 7.938 kB / 0.6508 GB, free: 224 kB / 0.545 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.0001976/0.1875, allocations: 199.4 kB / 0.651 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.1875, allocations: 24.05 kB / 0.651 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.1876, allocations: 29.77 kB / 0.6511 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1876, allocations: 4 kB / 0.6511 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1876, allocations: 0 / 0.6511 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1876, allocations: 0 / 0.6511 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1878, allocations: 204.9 kB / 0.6513 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1878, allocations: 0 / 0.6513 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.188, allocations: 15.94 kB / 0.6513 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.188, allocations: 0 / 0.6513 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.188, allocations: 11.98 kB / 0.6513 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.188, allocations: 0 / 0.6513 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.188, allocations: 0 / 0.6513 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008174/0.1888, allocations: 0.5251 MB / 0.6518 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.1888, allocations: 23.88 kB / 0.6518 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.1889, allocations: 4 kB / 0.6518 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.189, allocations: 15.98 kB / 0.6518 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.1891, allocations: 27.89 kB / 0.6519 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.1891, allocations: 8 kB / 0.6519 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001869/0.1893, allocations: 189.2 kB / 0.6521 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1893, allocations: 0 / 0.6521 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003013/0.1896, allocations: 67.89 kB / 0.6521 GB, free: 14.81 MB / 0.5606 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.0002049/0.1898, allocations: 133.7 kB / 0.6523 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005257/0.1903, allocations: 322.6 kB / 0.6526 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1903, allocations: 0 / 0.6526 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.1906, allocations: 189 kB / 0.6527 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1909, allocations: 39.08 kB / 0.6528 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.1917, allocations: 485.8 kB / 0.6532 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.1918, allocations: 144.7 kB / 0.6534 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.617e-05/0.1919, allocations: 17.48 kB / 0.6534 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.192, allocations: 20.5 kB / 0.6534 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.192, allocations: 0 / 0.6534 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.007131/0.1991, allocations: 2.884 MB / 0.6562 GB, free: 10.55 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.622758315992542] Failed to read output from testmodel.py, exit status != 0: 0.20756367594003677 0.22211654099999995 0.03933725599999994 Calling exit ...