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.001329/0.001329, allocations: 104.4 kB / 19.7 MB, free: 2.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.001418/0.001418, allocations: 213.1 kB / 22.99 MB, free: 4.945 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002585/0.002585, allocations: 299.9 kB / 313.5 MB, free: 2.605 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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.00301/0.00301, allocations: 101.2 kB / 0.7407 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2057, allocations: 95.39 MB / 0.8339 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004176/0.2098, allocations: 1.92 MB / 0.8357 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2115, allocations: 0.7051 MB / 0.8364 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.2117, allocations: 7.938 kB / 0.8364 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.212, allocations: 87.62 kB / 0.8365 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.2122, allocations: 87.64 kB / 0.8366 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007567/0.213, allocations: 192.2 kB / 0.8368 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.2135, allocations: 255.3 kB / 0.837 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.2137, allocations: 46.17 kB / 0.8371 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.2139, allocations: 119.6 kB / 0.8372 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.2142, allocations: 155.5 kB / 0.8373 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.2143, allocations: 20 kB / 0.8374 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2145, allocations: 91.92 kB / 0.8374 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.2146, allocations: 63.72 kB / 0.8375 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2147, allocations: 75.53 kB / 0.8376 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005048/0.2152, allocations: 314.7 kB / 0.8379 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2152, allocations: 0 / 0.8379 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.063e-06/0.2152, allocations: 0 / 0.8379 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.2153, allocations: 0 / 0.8379 GB, free: 3.723 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.001065/0.2163, allocations: 0.5219 MB / 0.8384 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2164, allocations: 9.938 kB / 0.8384 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.2164, allocations: 32.75 kB / 0.8384 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.217, allocations: 241.2 kB / 0.8387 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.217, allocations: 12.38 kB / 0.8387 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.2171, allocations: 20.38 kB / 0.8387 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.2175, allocations: 313.5 kB / 0.839 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2175, allocations: 0 / 0.839 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.2176, allocations: 8 kB / 0.839 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2176, allocations: 4 kB / 0.839 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.2178, allocations: 158.1 kB / 0.8391 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.2187, allocations: 0.5713 MB / 0.8397 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.2191, allocations: 184.5 kB / 0.8399 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.2192, allocations: 126.4 kB / 0.84 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2193, allocations: 4 kB / 0.84 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.2196, allocations: 202.7 kB / 0.8402 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.2196, allocations: 0 / 0.8402 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007758/0.2204, allocations: 448.6 kB / 0.8406 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2205, allocations: 140.5 kB / 0.8408 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.2208, allocations: 261.9 kB / 0.841 GB, free: 260 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.2208, allocations: 33.7 kB / 0.841 GB, free: 220 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.2209, allocations: 156.3 kB / 0.8412 GB, free: 60 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.221, allocations: 47.58 kB / 0.8412 GB, free: 12 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.2211, allocations: 41.75 kB / 0.8413 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.2212, allocations: 338.8 kB / 0.8416 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.2214, allocations: 113.7 kB / 0.8417 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.2217, allocations: 224.4 kB / 0.8419 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.2221, allocations: 244.8 kB / 0.8422 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2221, allocations: 0 / 0.8422 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005794/0.2227, allocations: 378.7 kB / 0.8425 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.2227, allocations: 45.81 kB / 0.8426 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2227, allocations: 4 kB / 0.8426 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2227, allocations: 0 / 0.8426 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2229, allocations: 19.98 kB / 0.8426 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2229, allocations: 4 kB / 0.8426 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.223, allocations: 19.94 kB / 0.8426 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.223, allocations: 8 kB / 0.8426 GB, free: 14.5 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.0002188/0.2232, allocations: 204 kB / 0.8428 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.2233, allocations: 27.86 kB / 0.8428 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/0.2233, allocations: 29.77 kB / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2233, allocations: 0 / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2233, allocations: 4 kB / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2234, allocations: 0 / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.2236, allocations: 205.1 kB / 0.8431 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.2236, allocations: 4 kB / 0.8431 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.2237, allocations: 15.98 kB / 0.8431 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2237, allocations: 0 / 0.8431 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2237, allocations: 11.94 kB / 0.8431 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2237, allocations: 4 kB / 0.8431 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2237, allocations: 0 / 0.8431 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.2246, allocations: 0.5211 MB / 0.8436 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.2246, allocations: 23.88 kB / 0.8436 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.2247, allocations: 8 kB / 0.8436 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2248, allocations: 11.98 kB / 0.8436 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.2249, allocations: 27.95 kB / 0.8437 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.2249, allocations: 4.188 kB / 0.8437 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002315/0.2251, allocations: 197.3 kB / 0.8439 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2251, allocations: 3.938 kB / 0.8439 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002942/0.2254, allocations: 59.89 kB / 0.8439 GB, free: 13.07 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.0002338/0.2257, allocations: 131.1 kB / 0.8441 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005608/0.2262, allocations: 322.6 kB / 0.8444 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2262, allocations: 0 / 0.8444 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.2265, allocations: 193.2 kB / 0.8445 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.2268, allocations: 38.98 kB / 0.8446 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.2278, allocations: 0.5115 MB / 0.8451 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.2279, allocations: 140.7 kB / 0.8452 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.228, allocations: 23.42 kB / 0.8452 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.228, allocations: 0 / 0.8452 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.006443/0.2344, allocations: 3.033 MB / 0.8482 GB, free: 8.594 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.857802351005375] Failed to read output from testmodel.py, exit status != 0: 0.2429725807160139 0.25771347399999994 0.039427677 Calling exit ...