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.0008076/0.0008076, allocations: 72.5 kB / 19.92 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.0007963/0.0007963, allocations: 173.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.9265/0.9265, 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/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.5797/0.5797, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.398e-05, allocations: 3.828 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002034/0.002048, allocations: 1.915 MB / 0.5561 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.00292, allocations: 0.6972 MB / 0.5567 GB, free: 144 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.00302, allocations: 4 kB / 0.5567 GB, free: 140 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.003229, allocations: 91.56 kB / 0.5568 GB, free: 48 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.003332, allocations: 91.52 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.003781, allocations: 183.6 kB / 0.5571 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.004006, allocations: 263.4 kB / 0.5573 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.004133, allocations: 54.09 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.004279, allocations: 151.7 kB / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.004424, allocations: 135.7 kB / 0.5577 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.00445, allocations: 24 kB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.004551, allocations: 87.92 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.004612, allocations: 55.77 kB / 0.5578 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.004679, allocations: 67.83 kB / 0.5579 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.004961, allocations: 331 kB / 0.5582 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004963, allocations: 0 / 0.5582 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.213e-06/0.004964, allocations: 0 / 0.5582 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.004968, allocations: 4 kB / 0.5582 GB, free: 14.62 MB / 0.5261 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.0006064/0.005575, allocations: 0.5063 MB / 0.5587 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.005614, allocations: 8.031 kB / 0.5587 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.005652, allocations: 46.73 kB / 0.5588 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.005697, allocations: 36.75 kB / 0.5588 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.006014, allocations: 252.9 kB / 0.559 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.006033, allocations: 12.31 kB / 0.559 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.006058, allocations: 20.12 kB / 0.5591 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.006339, allocations: 304.3 kB / 0.5593 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.006348, allocations: 0 / 0.5593 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.006363, allocations: 4 kB / 0.5594 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.00637, allocations: 8 kB / 0.5594 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.006536, allocations: 166 kB / 0.5595 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.007098, allocations: 0.6137 MB / 0.5601 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.007319, allocations: 188.3 kB / 0.5603 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.007427, allocations: 122.5 kB / 0.5604 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.007439, allocations: 3.984 kB / 0.5604 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.007635, allocations: 208.5 kB / 0.5606 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.007637, allocations: 3.938 kB / 0.5606 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0004464/0.008083, allocations: 438.3 kB / 0.561 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.008133, allocations: 136.5 kB / 0.5612 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.008312, allocations: 273.9 kB / 0.5614 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.00833, allocations: 37.7 kB / 0.5615 GB, free: 11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.008409, allocations: 156.4 kB / 0.5616 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.008436, allocations: 43.64 kB / 0.5617 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.008486, allocations: 45.64 kB / 0.5617 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.008574, allocations: 342.8 kB / 0.562 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.008681, allocations: 113.7 kB / 0.5621 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.008816, allocations: 215.7 kB / 0.5623 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.00901, allocations: 242.8 kB / 0.5626 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009012, allocations: 0 / 0.5626 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003081/0.00932, allocations: 381.7 kB / 0.5629 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.009349, allocations: 41.69 kB / 0.563 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.009354, allocations: 0 / 0.563 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.009364, allocations: 4 kB / 0.563 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.009438, allocations: 24.02 kB / 0.563 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.009444, allocations: 8 kB / 0.563 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.009514, allocations: 23.88 kB / 0.563 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.009525, allocations: 11.94 kB / 0.563 GB, free: 9.281 MB / 0.5261 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.0001147/0.00964, allocations: 191.5 kB / 0.5632 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.009663, allocations: 27.81 kB / 0.5633 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.009696, allocations: 29.77 kB / 0.5633 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.009699, allocations: 4 kB / 0.5633 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.009703, allocations: 3.938 kB / 0.5633 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009706, allocations: 4 kB / 0.5633 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.009853, allocations: 232.6 kB / 0.5635 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.009854, allocations: 0 / 0.5635 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.009909, allocations: 19.92 kB / 0.5635 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.00991, allocations: 0 / 0.5635 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.009923, allocations: 8 kB / 0.5635 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.009925, allocations: 4 kB / 0.5635 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.009925, allocations: 96 / 0.5635 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.01038, allocations: 0.5352 MB / 0.5641 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.01041, allocations: 23.88 kB / 0.5641 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.01043, allocations: 8 kB / 0.5641 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.01048, allocations: 11.98 kB / 0.5641 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.01055, allocations: 27.95 kB / 0.5641 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01056, allocations: 7.984 kB / 0.5641 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001189/0.01068, allocations: 201.2 kB / 0.5643 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01068, allocations: 0 / 0.5643 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000181/0.01086, allocations: 67.81 kB / 0.5644 GB, free: 7.793 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.0006726/0.01153, allocations: 1.086 MB / 0.5655 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003002/0.01183, allocations: 329.5 kB / 0.5658 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01183, allocations: 0 / 0.5658 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.01197, allocations: 193 kB / 0.566 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.01215, allocations: 39.78 kB / 0.566 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.01435, allocations: 2.92 MB / 0.5689 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.01446, allocations: 148.7 kB / 0.569 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.813e-05/0.01452, allocations: 17.48 kB / 0.569 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/0.01462, allocations: 80.47 kB / 0.5691 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/0.01462, allocations: 0 / 0.5691 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.0347, allocations: 6.226 MB / 0.5752 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.19, allocations: 18.39 kB / 0.5752 GB, free: 12.7 MB / 0.5417 GB " [Timeout remaining time 653] (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: 9.832593283616006] Failed to read output from testmodel.py, exit status != 0: 7.271617841906846 7.280172609 7.273701393 Calling exit ...