Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001579/0.001579, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 13.93 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.001879/0.001879, allocations: 166 kB / 22.56 MB, free: 1.961 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.8941/0.8941, allocations: 177.1 MB / 202.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5436/0.5436, allocations: 110.2 MB / 369.6 MB, free: 12.6 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.5475 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.082e-05, allocations: 5.234 kB / 0.5475 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002432/0.002452, allocations: 1.924 MB / 0.5493 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003457, allocations: 0.7127 MB / 0.55 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.003568, allocations: 4 kB / 0.55 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.003776, allocations: 79.58 kB / 0.5501 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.334e-05/0.003869, allocations: 99.5 kB / 0.5502 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.004342, allocations: 183.6 kB / 0.5504 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.004599, allocations: 259.4 kB / 0.5506 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.004731, allocations: 54.09 kB / 0.5507 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.004888, allocations: 147.7 kB / 0.5508 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.005059, allocations: 139.7 kB / 0.551 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.005093, allocations: 20 kB / 0.551 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.005214, allocations: 95.88 kB / 0.5511 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.005289, allocations: 59.83 kB / 0.5511 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.005358, allocations: 63.77 kB / 0.5512 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.005702, allocations: 339 kB / 0.5515 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005705, allocations: 0 / 0.5515 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.774e-06/0.005707, allocations: 0 / 0.5515 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.005713, allocations: 0 / 0.5515 GB, free: 5.574 MB / 0.5105 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.0006328/0.006346, allocations: 0.5141 MB / 0.552 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.006384, allocations: 12.03 kB / 0.552 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.006419, allocations: 42.75 kB / 0.5521 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.006472, allocations: 40.73 kB / 0.5521 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.006854, allocations: 236.9 kB / 0.5523 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.006876, allocations: 12.38 kB / 0.5523 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.006905, allocations: 20.31 kB / 0.5524 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.007211, allocations: 313.4 kB / 0.5527 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.007219, allocations: 192 / 0.5527 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.007233, allocations: 7.938 kB / 0.5527 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.007239, allocations: 4 kB / 0.5527 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.007405, allocations: 162 kB / 0.5528 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.007995, allocations: 0.6099 MB / 0.5534 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.00822, allocations: 184.2 kB / 0.5536 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.008322, allocations: 122.2 kB / 0.5537 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.008336, allocations: 7.938 kB / 0.5537 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.008525, allocations: 198.7 kB / 0.5539 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.455e-06/0.008527, allocations: 96 / 0.5539 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0004514/0.008979, allocations: 452.5 kB / 0.5543 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.009029, allocations: 136.5 kB / 0.5545 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.009211, allocations: 277.9 kB / 0.5547 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.009228, allocations: 29.7 kB / 0.5548 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.009307, allocations: 160.4 kB / 0.5549 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.009335, allocations: 43.58 kB / 0.555 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.009394, allocations: 41.7 kB / 0.555 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.009496, allocations: 338.8 kB / 0.5553 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.009609, allocations: 117.7 kB / 0.5554 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.009742, allocations: 226.1 kB / 0.5557 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.009925, allocations: 238.7 kB / 0.5559 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.009928, allocations: 4 kB / 0.5559 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003032/0.01023, allocations: 370.5 kB / 0.5562 GB, free: 356 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.01026, allocations: 37.83 kB / 0.5563 GB, free: 312 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01027, allocations: 11.98 kB / 0.5563 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01028, allocations: 0 / 0.5563 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.01036, allocations: 27.92 kB / 0.5563 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01037, allocations: 3.984 kB / 0.5563 GB, free: 268 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.01044, allocations: 27.88 kB / 0.5563 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01045, allocations: 4 kB / 0.5563 GB, free: 236 kB / 0.5105 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.0001222/0.01057, allocations: 195.4 kB / 0.5565 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.01061, allocations: 35.8 kB / 0.5566 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.01065, allocations: 33.77 kB / 0.5566 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01065, allocations: 0 / 0.5566 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01065, allocations: 3.984 kB / 0.5566 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01066, allocations: 0 / 0.5566 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.01081, allocations: 228.6 kB / 0.5568 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01081, allocations: 0 / 0.5568 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/0.01088, allocations: 19.92 kB / 0.5568 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01088, allocations: 4 kB / 0.5568 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.01089, allocations: 4 kB / 0.5568 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.0109, allocations: 4 kB / 0.5569 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.0109, allocations: 4 kB / 0.5569 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.01135, allocations: 0.5251 MB / 0.5574 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.01137, allocations: 19.86 kB / 0.5574 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.0114, allocations: 11.94 kB / 0.5574 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.135e-05/0.01145, allocations: 15.98 kB / 0.5574 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.01152, allocations: 23.95 kB / 0.5574 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.01153, allocations: 4 kB / 0.5574 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001165/0.01165, allocations: 205.2 kB / 0.5576 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01165, allocations: 4.062 kB / 0.5576 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001921/0.01184, allocations: 55.94 kB / 0.5577 GB, free: 14.75 MB / 0.5261 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.0006816/0.01252, allocations: 1.094 MB / 0.5588 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.01283, allocations: 330.8 kB / 0.5591 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01283, allocations: 4 kB / 0.5591 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.01296, allocations: 189 kB / 0.5593 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.01317, allocations: 36.42 kB / 0.5593 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.01537, allocations: 2.947 MB / 0.5622 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.973e-05/0.01546, allocations: 140.8 kB / 0.5623 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.491e-05/0.01553, allocations: 17.48 kB / 0.5623 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.113e-05/0.01561, allocations: 72.47 kB / 0.5624 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/0.01561, allocations: 0 / 0.5624 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.03708, allocations: 6.248 MB / 0.5685 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.583/6.62, allocations: 20.45 kB / 0.5685 GB, free: 3.621 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.107849786058068] Failed to read output from testmodel.py, exit status != 0: 6.704053581692278 6.712588728 6.704711158 Calling exit ...