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.001384/0.001384, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001422/0.001422, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 0.9843/0.9843, allocations: 150 MB / 459.5 MB, free: 5.277 MB / 350.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.002116/0.002116, allocations: 66.08 kB / 0.6361 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2188, allocations: 89.14 MB / 0.7231 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003952/0.2227, allocations: 1.971 MB / 0.7251 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2243, allocations: 0.7518 MB / 0.7258 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.2244, allocations: 4 kB / 0.7258 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.2247, allocations: 87.62 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.2248, allocations: 87.58 kB / 0.726 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.2255, allocations: 186.8 kB / 0.7262 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.2258, allocations: 267.4 kB / 0.7264 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.226, allocations: 49.89 kB / 0.7265 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.2262, allocations: 115.7 kB / 0.7266 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.2264, allocations: 163.4 kB / 0.7267 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.2264, allocations: 20 kB / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.2266, allocations: 91.92 kB / 0.7268 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.2267, allocations: 59.78 kB / 0.7269 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2268, allocations: 103.3 kB / 0.727 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.2272, allocations: 310.8 kB / 0.7273 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2272, allocations: 4 kB / 0.7273 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2272, allocations: 0 / 0.7273 GB, free: 15.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2272, allocations: 0 / 0.7273 GB, free: 15.79 MB / 0.545 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.0009146/0.2281, allocations: 0.5894 MB / 0.7279 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2281, allocations: 8.031 kB / 0.7279 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.711e-05/0.2282, allocations: 50.73 kB / 0.7279 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.2283, allocations: 32.75 kB / 0.7279 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.2288, allocations: 307 kB / 0.7282 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.2288, allocations: 15.94 kB / 0.7283 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.2289, allocations: 15.94 kB / 0.7283 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.2293, allocations: 227.2 kB / 0.7285 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2293, allocations: 0 / 0.7285 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2293, allocations: 4 kB / 0.7285 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2293, allocations: 7.938 kB / 0.7285 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.2296, allocations: 128.3 kB / 0.7286 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.2305, allocations: 0.6809 MB / 0.7293 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.2309, allocations: 158.6 kB / 0.7294 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.2311, allocations: 84.83 kB / 0.7295 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2311, allocations: 4 kB / 0.7295 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.2314, allocations: 169.1 kB / 0.7297 GB, free: 13.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.2314, allocations: 0 / 0.7297 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007469/0.2322, allocations: 384.6 kB / 0.7301 GB, free: 12.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.2323, allocations: 136.5 kB / 0.7302 GB, free: 12.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.2326, allocations: 282.7 kB / 0.7305 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.2326, allocations: 29.7 kB / 0.7305 GB, free: 12.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.2328, allocations: 152.4 kB / 0.7306 GB, free: 12.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.2328, allocations: 47.62 kB / 0.7307 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.2329, allocations: 41.7 kB / 0.7307 GB, free: 12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2331, allocations: 342.7 kB / 0.731 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.2332, allocations: 91.95 kB / 0.7311 GB, free: 11.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.2335, allocations: 133.2 kB / 0.7313 GB, free: 11.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.2338, allocations: 244.6 kB / 0.7315 GB, free: 11.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2339, allocations: 0 / 0.7315 GB, free: 11.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005567/0.2344, allocations: 333.2 kB / 0.7318 GB, free: 10.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.2345, allocations: 41.69 kB / 0.7318 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2345, allocations: 4 kB / 0.7318 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2345, allocations: 4 kB / 0.7319 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.2346, allocations: 28.02 kB / 0.7319 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2346, allocations: 7.938 kB / 0.7319 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2348, allocations: 27.77 kB / 0.7319 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.2348, allocations: 12 kB / 0.7319 GB, free: 10.69 MB / 0.545 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.0002034/0.235, allocations: 187 kB / 0.7321 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.235, allocations: 27.86 kB / 0.7321 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.2351, allocations: 25.83 kB / 0.7322 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2351, allocations: 4 kB / 0.7322 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2351, allocations: 3.938 kB / 0.7322 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2351, allocations: 7.938 kB / 0.7322 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.2354, allocations: 293.4 kB / 0.7324 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2354, allocations: 0 / 0.7324 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.2355, allocations: 19.98 kB / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2355, allocations: 0 / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.2356, allocations: 4 kB / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2356, allocations: 0 / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2356, allocations: 3.938 kB / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/0.2363, allocations: 470.5 kB / 0.7329 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.2364, allocations: 100.9 kB / 0.733 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.2364, allocations: 8 kB / 0.733 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2365, allocations: 11.98 kB / 0.733 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.2366, allocations: 31.89 kB / 0.7331 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.2367, allocations: 8.062 kB / 0.7331 GB, free: 9.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002096/0.2369, allocations: 202 kB / 0.7333 GB, free: 9.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2369, allocations: 192 / 0.7333 GB, free: 9.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002872/0.2372, allocations: 59.89 kB / 0.7333 GB, free: 9.148 MB / 0.545 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.001234/0.2384, allocations: 1.037 MB / 0.7343 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005039/0.2389, allocations: 255.2 kB / 0.7346 GB, free: 7.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2389, allocations: 0 / 0.7346 GB, free: 7.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.2391, allocations: 159.3 kB / 0.7347 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.2394, allocations: 40.67 kB / 0.7348 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.2431, allocations: 2.748 MB / 0.7375 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.2435, allocations: 0.7523 MB / 0.7382 GB, free: 3.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.071e-05/0.2436, allocations: 21.55 kB / 0.7382 GB, free: 3.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2437, allocations: 71.41 kB / 0.7383 GB, free: 3.891 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2437, allocations: 4 kB / 0.7383 GB, free: 3.887 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.2779, allocations: 5.378 MB / 0.7435 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/8.697, allocations: 14.5 kB / 0.7435 GB, free: 14.62 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.809460658114403] Failed to read output from testmodel.py, exit status != 0: 8.76827545906417 8.789704888 8.558317498 Calling exit ...