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.00181/0.00181, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001685/0.001685, allocations: 210.8 kB / 23.01 MB, free: 4.57 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.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.002561/0.002561, allocations: 274.2 kB / 313.5 MB, free: 2.82 MB / 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 1.294/1.294, allocations: 180.6 MB / 0.5377 GB, free: 13.12 MB / 382.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.002941/0.002941, allocations: 107.2 kB / 0.7408 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1984, allocations: 95.38 MB / 0.8339 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003436/0.2019, allocations: 2.006 MB / 0.8359 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.2032, allocations: 0.7441 MB / 0.8366 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2033, allocations: 7.938 kB / 0.8366 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.2036, allocations: 95.62 kB / 0.8367 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.2038, allocations: 83.64 kB / 0.8368 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.2044, allocations: 186.8 kB / 0.837 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.2047, allocations: 263.2 kB / 0.8372 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.2049, allocations: 58.16 kB / 0.8373 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.205, allocations: 119.6 kB / 0.8374 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.2052, allocations: 159.5 kB / 0.8376 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.2053, allocations: 20 kB / 0.8376 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.2054, allocations: 91.92 kB / 0.8377 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.319e-05/0.2055, allocations: 59.78 kB / 0.8377 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.2056, allocations: 111.3 kB / 0.8378 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.206, allocations: 310.8 kB / 0.8381 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.206, allocations: 0 / 0.8381 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.206, allocations: 7.938 kB / 0.8381 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.206, allocations: 0 / 0.8381 GB, free: 3.879 MB / 0.5762 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.0008779/0.2069, allocations: 0.5141 MB / 0.8386 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.207, allocations: 9.938 kB / 0.8386 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/0.207, allocations: 36.75 kB / 0.8387 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.2075, allocations: 241.2 kB / 0.8389 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.2076, allocations: 12.38 kB / 0.8389 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.2076, allocations: 12.38 kB / 0.8389 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.208, allocations: 232.5 kB / 0.8392 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.208, allocations: 0 / 0.8392 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.2081, allocations: 8 kB / 0.8392 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2081, allocations: 3.984 kB / 0.8392 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.2083, allocations: 132.3 kB / 0.8393 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.2092, allocations: 0.6488 MB / 0.8399 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.2096, allocations: 150.5 kB / 0.8401 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.2097, allocations: 84.95 kB / 0.8402 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2097, allocations: 8 kB / 0.8402 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.21, allocations: 181 kB / 0.8403 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.21, allocations: 0 / 0.8403 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007034/0.2107, allocations: 375 kB / 0.8407 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.2108, allocations: 136.5 kB / 0.8408 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.2111, allocations: 281.9 kB / 0.8411 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.2111, allocations: 29.7 kB / 0.8411 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.2113, allocations: 160.3 kB / 0.8413 GB, free: 452 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.2113, allocations: 39.64 kB / 0.8413 GB, free: 412 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.2114, allocations: 41.7 kB / 0.8413 GB, free: 364 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2115, allocations: 338.8 kB / 0.8417 GB, free: 16 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.2117, allocations: 87.89 kB / 0.8418 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2119, allocations: 133.1 kB / 0.8419 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.2123, allocations: 237.1 kB / 0.8421 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2123, allocations: 4.031 kB / 0.8421 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000523/0.2128, allocations: 335 kB / 0.8424 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.2129, allocations: 41.69 kB / 0.8425 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2129, allocations: 0 / 0.8425 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2129, allocations: 4 kB / 0.8425 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.213, allocations: 23.92 kB / 0.8425 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.213, allocations: 4 kB / 0.8425 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2131, allocations: 27.97 kB / 0.8425 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2131, allocations: 8.094 kB / 0.8425 GB, free: 15.07 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.0001989/0.2133, allocations: 200.8 kB / 0.8427 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.2134, allocations: 31.81 kB / 0.8428 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.2134, allocations: 29.77 kB / 0.8428 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2134, allocations: 0 / 0.8428 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2134, allocations: 0 / 0.8428 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2135, allocations: 8 kB / 0.8428 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.2137, allocations: 264.5 kB / 0.843 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2137, allocations: 3.938 kB / 0.843 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.2138, allocations: 12 kB / 0.8431 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2138, allocations: 0 / 0.8431 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.2138, allocations: 15.98 kB / 0.8431 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2138, allocations: 0 / 0.8431 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2138, allocations: 0 / 0.8431 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.2146, allocations: 473.2 kB / 0.8435 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.2146, allocations: 27.81 kB / 0.8436 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.2147, allocations: 8 kB / 0.8436 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.2148, allocations: 11.98 kB / 0.8436 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.2148, allocations: 27.95 kB / 0.8436 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.2149, allocations: 4 kB / 0.8436 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001937/0.2151, allocations: 201.2 kB / 0.8438 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2151, allocations: 4.062 kB / 0.8438 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002798/0.2153, allocations: 59.92 kB / 0.8439 GB, free: 13.64 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.0002144/0.2155, allocations: 127.1 kB / 0.844 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.216, allocations: 263.2 kB / 0.8442 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.216, allocations: 0 / 0.8442 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.2163, allocations: 155.5 kB / 0.8444 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2165, allocations: 31.23 kB / 0.8444 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.2174, allocations: 496.3 kB / 0.8449 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.2178, allocations: 0.7515 MB / 0.8456 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.2179, allocations: 15.44 kB / 0.8456 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.2179, allocations: 7.938 kB / 0.8456 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of Templates: time 0.005573/0.2234, allocations: 2.993 MB / 0.8486 GB, free: 8.734 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.864788800943643] Failed to read output from testmodel.py, exit status != 0: 0.2311323480680585 0.24579523400000003 0.036740081 Calling exit ...