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.001696/0.001696, allocations: 119 kB / 19.69 MB, free: 2.199 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.002063/0.002063, allocations: 222.6 kB / 23.01 MB, free: 5.047 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.719/1.719, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.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 1.014/1.014, allocations: 150 MB / 463.2 MB, free: 10.54 MB / 366.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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [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.001997/0.001997, allocations: 66.89 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1944, allocations: 89.16 MB / 0.7283 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003213/0.1977, allocations: 1.996 MB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.199, allocations: 0.7597 MB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.1991, allocations: 3.938 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1993, allocations: 83.62 kB / 0.7311 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.1994, allocations: 91.58 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.2, allocations: 187.3 kB / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.2003, allocations: 263.4 kB / 0.7316 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2004, allocations: 50.17 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.2006, allocations: 115.7 kB / 0.7318 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.2008, allocations: 159.5 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.2008, allocations: 20 kB / 0.732 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.201, allocations: 95.86 kB / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.2011, allocations: 63.78 kB / 0.7321 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.2012, allocations: 107.3 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.2016, allocations: 306.8 kB / 0.7325 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2016, allocations: 0 / 0.7325 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2016, allocations: 3.938 kB / 0.7325 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2016, allocations: 0 / 0.7325 GB, free: 13.04 MB / 0.5606 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.0008459/0.2024, allocations: 0.518 MB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2025, allocations: 8.031 kB / 0.733 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.2025, allocations: 50.73 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.2026, allocations: 28.75 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.2031, allocations: 245.2 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2031, allocations: 15.94 kB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.2031, allocations: 16 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.2035, allocations: 227.1 kB / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2035, allocations: 3.984 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.2035, allocations: 4 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2035, allocations: 4 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.2038, allocations: 133.3 kB / 0.7337 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.2047, allocations: 0.6526 MB / 0.7343 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.205, allocations: 154.6 kB / 0.7345 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.2052, allocations: 88.81 kB / 0.7346 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2052, allocations: 0 / 0.7346 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.2055, allocations: 168 kB / 0.7347 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.2055, allocations: 4 kB / 0.7347 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007107/0.2062, allocations: 379 kB / 0.7351 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.2063, allocations: 140.5 kB / 0.7352 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.2066, allocations: 269.9 kB / 0.7355 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2066, allocations: 37.69 kB / 0.7355 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2067, allocations: 160.3 kB / 0.7357 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.2068, allocations: 43.64 kB / 0.7357 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.2069, allocations: 45.7 kB / 0.7358 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.207, allocations: 338.8 kB / 0.7361 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.2072, allocations: 83.97 kB / 0.7362 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.2074, allocations: 133 kB / 0.7363 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.2077, allocations: 249.5 kB / 0.7365 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2077, allocations: 4 kB / 0.7365 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005345/0.2083, allocations: 331 kB / 0.7369 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.2083, allocations: 44.3 kB / 0.7369 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2083, allocations: 0 / 0.7369 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2083, allocations: 0 / 0.7369 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.2085, allocations: 23.98 kB / 0.7369 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2085, allocations: 7.875 kB / 0.7369 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.2086, allocations: 27.92 kB / 0.737 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2086, allocations: 11.94 kB / 0.737 GB, free: 8.156 MB / 0.5606 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.000186/0.2088, allocations: 191.5 kB / 0.7372 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.2088, allocations: 23.86 kB / 0.7372 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.2089, allocations: 33.77 kB / 0.7372 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2089, allocations: 3.938 kB / 0.7372 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2089, allocations: 3.938 kB / 0.7372 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2089, allocations: 0 / 0.7372 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.2092, allocations: 260.5 kB / 0.7375 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2092, allocations: 4 kB / 0.7375 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.2093, allocations: 19.92 kB / 0.7375 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2093, allocations: 0 / 0.7375 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.2093, allocations: 8 kB / 0.7375 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2093, allocations: 0 / 0.7375 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.2093, allocations: 3.938 kB / 0.7375 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/0.2101, allocations: 466.5 kB / 0.7379 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.2101, allocations: 19.83 kB / 0.738 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.2101, allocations: 8 kB / 0.738 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2102, allocations: 16.05 kB / 0.738 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.2103, allocations: 31.83 kB / 0.738 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.2104, allocations: 15.98 kB / 0.738 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002059/0.2106, allocations: 197.2 kB / 0.7382 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2106, allocations: 0 / 0.7382 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000283/0.2108, allocations: 55.89 kB / 0.7383 GB, free: 6.742 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.00111/0.212, allocations: 1.038 MB / 0.7393 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.2124, allocations: 255.2 kB / 0.7395 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2124, allocations: 256 / 0.7395 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.2126, allocations: 163.3 kB / 0.7397 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.2129, allocations: 36.8 kB / 0.7397 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.2166, allocations: 2.758 MB / 0.7424 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.217, allocations: 0.7515 MB / 0.7431 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.726e-05/0.2171, allocations: 29.39 kB / 0.7432 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.2172, allocations: 75.42 kB / 0.7432 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.2172, allocations: 0 / 0.7432 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.2527, allocations: 5.583 MB / 0.7487 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.39, allocations: 11.61 kB / 0.7487 GB, free: 12.03 MB / 0.5762 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.869033672999649] Failed to read output from testmodel.py, exit status != 0: 11.49248679199809 11.793609999 11.588648717 Calling exit ...