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.001321/0.001321, allocations: 104.3 kB / 19.7 MB, free: 2.09 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.001518/0.001518, allocations: 208.4 kB / 22.99 MB, free: 4.926 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.128/1.128, allocations: 149.9 MB / 463 MB, free: 10.4 MB / 366.1 MB " [Timeout remaining time 178] 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.002603/0.002603, allocations: 70.59 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1976, allocations: 89.17 MB / 0.7281 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004177/0.2018, allocations: 1.906 MB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.2035, allocations: 0.7051 MB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.2037, allocations: 3.938 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.2039, allocations: 83.69 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.2041, allocations: 91.58 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.2049, allocations: 188.8 kB / 0.7311 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.2053, allocations: 263.4 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2054, allocations: 50.16 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.2056, allocations: 119.6 kB / 0.7315 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.2059, allocations: 147.5 kB / 0.7316 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.2059, allocations: 20 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.2061, allocations: 87.92 kB / 0.7317 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.2062, allocations: 59.78 kB / 0.7318 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2063, allocations: 83.52 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.2068, allocations: 310.8 kB / 0.7321 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2068, allocations: 0 / 0.7321 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2068, allocations: 4 kB / 0.7321 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.2068, allocations: 0 / 0.7321 GB, free: 12.94 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.001024/0.2078, allocations: 0.5127 MB / 0.7326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2079, allocations: 11.97 kB / 0.7327 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.101e-05/0.2079, allocations: 50.73 kB / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.208, allocations: 36.75 kB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.2086, allocations: 249.1 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.2086, allocations: 15.94 kB / 0.733 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.2086, allocations: 12 kB / 0.733 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.2092, allocations: 304.3 kB / 0.7333 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2092, allocations: 4 kB / 0.7333 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2092, allocations: 4 kB / 0.7333 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2092, allocations: 11.92 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.2095, allocations: 159 kB / 0.7335 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2106, allocations: 0.6136 MB / 0.7341 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.211, allocations: 180.4 kB / 0.7342 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.2112, allocations: 118.5 kB / 0.7343 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.2112, allocations: 8 kB / 0.7344 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.2115, allocations: 206.8 kB / 0.7346 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.535e-06/0.2115, allocations: 3.938 kB / 0.7346 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0008161/0.2123, allocations: 440.5 kB / 0.735 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.2125, allocations: 136.5 kB / 0.7351 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.2128, allocations: 281.8 kB / 0.7354 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.2129, allocations: 33.7 kB / 0.7354 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.213, allocations: 160.3 kB / 0.7356 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.2131, allocations: 43.69 kB / 0.7356 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.004e-05/0.2131, allocations: 33.72 kB / 0.7356 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2133, allocations: 346.7 kB / 0.736 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.2135, allocations: 113.7 kB / 0.7361 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.2138, allocations: 214.2 kB / 0.7363 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.2142, allocations: 250.9 kB / 0.7365 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2142, allocations: 3.938 kB / 0.7365 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005813/0.2148, allocations: 374.1 kB / 0.7369 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.2148, allocations: 33.7 kB / 0.7369 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2148, allocations: 4 kB / 0.7369 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2148, allocations: 0 / 0.7369 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.215, allocations: 31.92 kB / 0.7369 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.215, allocations: 4.031 kB / 0.7369 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.2151, allocations: 31.83 kB / 0.737 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.2152, allocations: 4 kB / 0.737 GB, free: 7.59 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.000204/0.2154, allocations: 199.4 kB / 0.7372 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.2154, allocations: 23.86 kB / 0.7372 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.2155, allocations: 29.77 kB / 0.7372 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2155, allocations: 3.984 kB / 0.7372 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2155, allocations: 3.938 kB / 0.7372 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2155, allocations: 0 / 0.7372 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.2158, allocations: 244.6 kB / 0.7375 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2158, allocations: 0 / 0.7375 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.2159, allocations: 19.98 kB / 0.7375 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2159, allocations: 4 kB / 0.7375 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2159, allocations: 0 / 0.7375 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2159, allocations: 4 kB / 0.7375 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2159, allocations: 3.938 kB / 0.7375 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008533/0.2167, allocations: 0.5213 MB / 0.738 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.2168, allocations: 23.95 kB / 0.738 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.2168, allocations: 8 kB / 0.738 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2169, allocations: 11.98 kB / 0.738 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.217, allocations: 27.89 kB / 0.7381 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.2171, allocations: 8 kB / 0.7381 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002134/0.2173, allocations: 201.4 kB / 0.7383 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2173, allocations: 0 / 0.7383 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002994/0.2176, allocations: 67.77 kB / 0.7383 GB, free: 6.109 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.001267/0.2188, allocations: 1.092 MB / 0.7394 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.2194, allocations: 330.6 kB / 0.7397 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2194, allocations: 0 / 0.7397 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.2196, allocations: 189 kB / 0.7399 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2199, allocations: 40.66 kB / 0.7399 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.2238, allocations: 2.925 MB / 0.7428 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.224, allocations: 144.8 kB / 0.7429 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.906e-05/0.2241, allocations: 17.48 kB / 0.7429 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.2242, allocations: 75.41 kB / 0.743 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.2242, allocations: 0 / 0.743 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/0.2631, allocations: 6.11 MB / 0.749 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.8, allocations: 9.984 kB / 0.749 GB, free: 11.14 MB / 0.5762 GB " [Timeout remaining time 648] (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: 16.208047337830067] Failed to read output from testmodel.py, exit status != 0: 11.90958525519818 12.223381924 12.013271957 Calling exit ...