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.000741/0.000741, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007529/0.0007529, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8655/0.8655, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.002206/0.002206, allocations: 234.8 kB / 260.2 MB, free: 13 MB / 250.7 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 0.6675/0.6675, allocations: 138.4 MB / 455.1 MB, free: 30.07 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 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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.6475 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.97e-05, allocations: 5.234 kB / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.225/0.225, allocations: 1.914 MB / 0.6494 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.2259, allocations: 0.7057 MB / 0.6501 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.2259, allocations: 2.094 kB / 0.6501 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.2261, allocations: 88.25 kB / 0.6501 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.769e-05/0.2262, allocations: 95.47 kB / 0.6502 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.2267, allocations: 182.7 kB / 0.6504 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.2269, allocations: 262.7 kB / 0.6507 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.227, allocations: 52.28 kB / 0.6507 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2271, allocations: 154.8 kB / 0.6509 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.2273, allocations: 140.3 kB / 0.651 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.2273, allocations: 19.59 kB / 0.651 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.2275, allocations: 88.92 kB / 0.6511 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.2275, allocations: 56.12 kB / 0.6511 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.2276, allocations: 65.72 kB / 0.6512 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.2278, allocations: 336.2 kB / 0.6515 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2279, allocations: 0.625 kB / 0.6515 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2279, allocations: 0.7188 kB / 0.6515 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2279, allocations: 0 / 0.6515 GB, free: 55.98 MB / 0.5573 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.0005369/0.2284, allocations: 0.5102 MB / 0.652 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2284, allocations: 11.5 kB / 0.652 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.2285, allocations: 33.88 kB / 0.6521 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.2288, allocations: 245.7 kB / 0.6523 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.2288, allocations: 12.53 kB / 0.6523 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.2288, allocations: 14.72 kB / 0.6523 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.2291, allocations: 311.5 kB / 0.6526 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2291, allocations: 192 / 0.6526 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2291, allocations: 11.56 kB / 0.6526 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2291, allocations: 2.312 kB / 0.6526 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.2293, allocations: 168.1 kB / 0.6528 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.2297, allocations: 0.5673 MB / 0.6534 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.2299, allocations: 187.8 kB / 0.6535 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.23, allocations: 119 kB / 0.6536 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.23, allocations: 1.75 kB / 0.6537 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.2302, allocations: 213.8 kB / 0.6539 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.2302, allocations: 3.938 kB / 0.6539 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0004217/0.2306, allocations: 442.6 kB / 0.6543 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.2307, allocations: 133.5 kB / 0.6544 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.2308, allocations: 271.2 kB / 0.6547 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.2308, allocations: 32.03 kB / 0.6547 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.2309, allocations: 151.2 kB / 0.6548 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.2309, allocations: 53.3 kB / 0.6549 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.231, allocations: 40.67 kB / 0.6549 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.231, allocations: 332 kB / 0.6552 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.2311, allocations: 120.3 kB / 0.6554 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2312, allocations: 218.4 kB / 0.6556 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.2314, allocations: 243.7 kB / 0.6558 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2314, allocations: 1.531 kB / 0.6558 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002869/0.2317, allocations: 377.8 kB / 0.6562 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.2317, allocations: 41.09 kB / 0.6562 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2317, allocations: 0.9688 kB / 0.6562 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2317, allocations: 1.688 kB / 0.6562 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.2318, allocations: 28 kB / 0.6562 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2318, allocations: 6.359 kB / 0.6562 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.2319, allocations: 17.44 kB / 0.6563 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2319, allocations: 10.78 kB / 0.6563 GB, free: 52.61 MB / 0.5573 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 8.901e-05/0.232, allocations: 197.1 kB / 0.6565 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.232, allocations: 28.64 kB / 0.6565 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.232, allocations: 29.11 kB / 0.6565 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.232, allocations: 1.75 kB / 0.6565 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.232, allocations: 3.5 kB / 0.6565 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.232, allocations: 2.578 kB / 0.6565 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.2321, allocations: 201.9 kB / 0.6567 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2321, allocations: 0 / 0.6567 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.2322, allocations: 20.09 kB / 0.6567 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2322, allocations: 3.938 kB / 0.6567 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2322, allocations: 8.766 kB / 0.6567 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2322, allocations: 0 / 0.6567 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2322, allocations: 2.391 kB / 0.6567 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.2326, allocations: 0.5266 MB / 0.6573 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.2327, allocations: 22.17 kB / 0.6573 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.2327, allocations: 11.31 kB / 0.6573 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.2327, allocations: 13.25 kB / 0.6573 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.2328, allocations: 24.44 kB / 0.6573 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2328, allocations: 4.719 kB / 0.6573 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.629e-05/0.2329, allocations: 193.2 kB / 0.6575 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2329, allocations: 3.188 kB / 0.6575 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001776/0.2331, allocations: 60.28 kB / 0.6576 GB, free: 51.82 MB / 0.5573 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.0001354/0.2332, allocations: 141.2 kB / 0.6577 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.2335, allocations: 322.9 kB / 0.658 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2335, allocations: 0 / 0.658 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2336, allocations: 191.5 kB / 0.6582 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.2338, allocations: 28.64 kB / 0.6582 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.2343, allocations: 0.5051 MB / 0.6587 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.937e-05/0.2344, allocations: 145.5 kB / 0.6589 GB, free: 51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.2344, allocations: 24.62 kB / 0.6589 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of SimCode: time 4.2e-07/0.2344, allocations: 0 / 0.6589 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of Templates: time 0.003347/0.2377, allocations: 3.045 MB / 0.6619 GB, free: 50.73 MB / 0.5573 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: 5.328710881061852] Failed to read output from testmodel.py, exit status != 0: 0.24249738734215498 0.249595582 0.020016861 Calling exit ...