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.0008468/0.0008468, allocations: 76.55 kB / 19.93 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.0009744/0.0009744, allocations: 177.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.9283/0.9283, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5569/0.5569, allocations: 114 MB / 373.9 MB, free: 8.723 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.533e-06/1.533e-06, allocations: 0 / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.998e-05, allocations: 5.766 kB / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002261/0.002281, allocations: 1.915 MB / 0.556 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000923/0.003204, allocations: 0.6973 MB / 0.5567 GB, free: 176 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.003318, allocations: 7.938 kB / 0.5567 GB, free: 168 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.00355, allocations: 87.58 kB / 0.5568 GB, free: 80 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.003953, allocations: 95.61 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.004429, allocations: 186.2 kB / 0.5571 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.004655, allocations: 255.4 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.004784, allocations: 54.09 kB / 0.5574 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.004925, allocations: 163.6 kB / 0.5575 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.005081, allocations: 139.7 kB / 0.5577 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.005108, allocations: 20 kB / 0.5577 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.005211, allocations: 83.94 kB / 0.5578 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.005276, allocations: 55.83 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.005344, allocations: 63.77 kB / 0.5579 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.005639, allocations: 335 kB / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005641, allocations: 0 / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005642, allocations: 4 kB / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005647, allocations: 3.938 kB / 0.5582 GB, free: 14.64 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.0006078/0.006255, allocations: 0.5102 MB / 0.5587 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.006299, allocations: 12.62 kB / 0.5587 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.00634, allocations: 46.73 kB / 0.5588 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.006383, allocations: 32.75 kB / 0.5588 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.006699, allocations: 240.9 kB / 0.559 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.006717, allocations: 16.38 kB / 0.559 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.006744, allocations: 24.12 kB / 0.5591 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.00703, allocations: 304.2 kB / 0.5594 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.007038, allocations: 0 / 0.5594 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.007052, allocations: 8 kB / 0.5594 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.007057, allocations: 0 / 0.5594 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.007226, allocations: 166.1 kB / 0.5595 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.007818, allocations: 0.6137 MB / 0.5601 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.008085, allocations: 188.2 kB / 0.5603 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.008199, allocations: 118.7 kB / 0.5604 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.008212, allocations: 4 kB / 0.5604 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.008421, allocations: 201.1 kB / 0.5606 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.008423, allocations: 0 / 0.5606 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0006/0.009023, allocations: 450.3 kB / 0.561 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.00909, allocations: 140.5 kB / 0.5612 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.009347, allocations: 277.9 kB / 0.5614 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.009374, allocations: 29.7 kB / 0.5615 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.009482, allocations: 160.4 kB / 0.5616 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.009519, allocations: 47.64 kB / 0.5617 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.009589, allocations: 41.7 kB / 0.5617 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.009698, allocations: 338.8 kB / 0.562 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.009861, allocations: 121.7 kB / 0.5621 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.01006, allocations: 211.7 kB / 0.5623 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.01035, allocations: 242.7 kB / 0.5626 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01036, allocations: 4.031 kB / 0.5626 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004605/0.01082, allocations: 378.8 kB / 0.5629 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.01086, allocations: 41.69 kB / 0.563 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01086, allocations: 0 / 0.563 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.01088, allocations: 4 kB / 0.563 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01099, allocations: 19.98 kB / 0.563 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01099, allocations: 0 / 0.563 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.0111, allocations: 27.97 kB / 0.563 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.01112, allocations: 16.03 kB / 0.563 GB, free: 9.309 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.0001641/0.01128, allocations: 195.3 kB / 0.5632 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.01132, allocations: 31.81 kB / 0.5633 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.01137, allocations: 25.78 kB / 0.5633 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01137, allocations: 3.984 kB / 0.5633 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01137, allocations: 0 / 0.5633 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01138, allocations: 4 kB / 0.5633 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.01159, allocations: 232.6 kB / 0.5635 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01159, allocations: 4 kB / 0.5635 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.01168, allocations: 15.98 kB / 0.5635 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01168, allocations: 0 / 0.5635 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.0117, allocations: 4 kB / 0.5635 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.0117, allocations: 3.938 kB / 0.5635 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.0117, allocations: 4 kB / 0.5635 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.01264, allocations: 0.5351 MB / 0.5641 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.01267, allocations: 15.89 kB / 0.5641 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.0127, allocations: 16.06 kB / 0.5641 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.01278, allocations: 11.98 kB / 0.5641 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.01286, allocations: 23.95 kB / 0.5641 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.01288, allocations: 11.98 kB / 0.5641 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001709/0.01305, allocations: 197.2 kB / 0.5643 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01305, allocations: 0 / 0.5643 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002853/0.01334, allocations: 63.83 kB / 0.5644 GB, free: 7.828 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.0009313/0.01427, allocations: 1.094 MB / 0.5655 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.0146, allocations: 337.5 kB / 0.5658 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0146, allocations: 0 / 0.5658 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.01473, allocations: 185 kB / 0.566 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.01493, allocations: 36.72 kB / 0.566 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.01723, allocations: 2.921 MB / 0.5688 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.98e-05/0.01733, allocations: 148.7 kB / 0.569 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.892e-05/0.01739, allocations: 17.48 kB / 0.569 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.611e-05/0.01747, allocations: 80.39 kB / 0.5691 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.01748, allocations: 0 / 0.5691 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.03673, allocations: 6.239 MB / 0.5752 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.024, allocations: 9.297 kB / 0.5752 GB, free: 12.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 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.580910485237837] Failed to read output from testmodel.py, exit status != 0: 7.1052966713905334 7.115773182 7.107389232 Calling exit ...