Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.0008487/0.0008487, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.001432/0.001432, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8877/0.8877, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.539/0.539, allocations: 114 MB / 373.9 MB, free: 8.707 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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5541 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.457e-05, allocations: 2.281 kB / 0.5541 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001699/0.001714, allocations: 1.487 MB / 0.5556 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005268/0.002241, allocations: 450.8 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.002272, allocations: 0 / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.002298, allocations: 3.938 kB / 0.556 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.853e-05/0.002366, allocations: 15.86 kB / 0.556 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.002493, allocations: 23.91 kB / 0.5561 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.002563, allocations: 47.84 kB / 0.5561 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.002651, allocations: 11.98 kB / 0.5561 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.002709, allocations: 39.84 kB / 0.5562 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.002765, allocations: 7.984 kB / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.002787, allocations: 4 kB / 0.5562 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.002795, allocations: 4 kB / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.002816, allocations: 23.91 kB / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.002848, allocations: 15.98 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.445e-05/0.002932, allocations: 39.88 kB / 0.5562 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002934, allocations: 0 / 0.5562 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.12e-07/0.002934, allocations: 0 / 0.5562 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.002938, allocations: 0 / 0.5562 GB, free: 0.6641 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000349/0.003287, allocations: 286.2 kB / 0.5565 GB, free: 364 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.00332, allocations: 8.625 kB / 0.5565 GB, free: 356 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.003347, allocations: 42.73 kB / 0.5566 GB, free: 304 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.00337, allocations: 12.89 kB / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.537e-05/0.003445, allocations: 101.8 kB / 0.5567 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.003455, allocations: 8.375 kB / 0.5567 GB, free: 156 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.003465, allocations: 8.312 kB / 0.5567 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.209e-05/0.003547, allocations: 62.23 kB / 0.5568 GB, free: 80 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.003553, allocations: 192 / 0.5568 GB, free: 80 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.003561, allocations: 4.125 kB / 0.5568 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.003565, allocations: 0 / 0.5568 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.003614, allocations: 31.92 kB / 0.5568 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.003963, allocations: 271.7 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.906e-05/0.004042, allocations: 50.62 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.004072, allocations: 20.88 kB / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.004081, allocations: 4 kB / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.004189, allocations: 71.42 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.00419, allocations: 0 / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001655/0.004356, allocations: 101.6 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.004387, allocations: 55.41 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.857e-05/0.004446, allocations: 109.8 kB / 0.5574 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.004456, allocations: 25.7 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.004489, allocations: 96.06 kB / 0.5576 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.004508, allocations: 23.84 kB / 0.5576 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.004539, allocations: 29.66 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.004605, allocations: 322.8 kB / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.004632, allocations: 12 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/0.004673, allocations: 47.42 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/0.004735, allocations: 71.53 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.004737, allocations: 0 / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.977e-05/0.004827, allocations: 101.5 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.00484, allocations: 16.02 kB / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.004843, allocations: 0 / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.004853, allocations: 0 / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.004902, allocations: 8 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004907, allocations: 4 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.004942, allocations: 7.984 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.004947, allocations: 4 kB / 0.5582 GB, free: 14.47 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: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 5.675e-05/0.005004, allocations: 130 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-06/0.005011, allocations: 7.953 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.005029, allocations: 8.125 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005031, allocations: 4 kB / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.005035, allocations: 3.938 kB / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005038, allocations: 0 / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.005274, allocations: 325.5 kB / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005274, allocations: 0 / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.005289, allocations: 7.984 kB / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.00529, allocations: 0 / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.005296, allocations: 0 / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.005297, allocations: 4 kB / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005298, allocations: 0 / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.332e-05/0.005391, allocations: 191.4 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.005399, allocations: 7.953 kB / 0.5588 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.005407, allocations: 0 / 0.5588 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.03e-05/0.005447, allocations: 11.92 kB / 0.5588 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.005479, allocations: 11.98 kB / 0.5589 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.005484, allocations: 3.938 kB / 0.5589 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.436e-05/0.005508, allocations: 83.22 kB / 0.5589 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005508, allocations: 0 / 0.5589 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001616/0.00567, allocations: 16 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002385/0.005908, allocations: 0.7085 MB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.182e-05/0.006, allocations: 56.52 kB / 0.5597 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006001, allocations: 3.938 kB / 0.5597 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.006033, allocations: 23.94 kB / 0.5597 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.006218, allocations: 22.19 kB / 0.5598 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.007019, allocations: 1.375 MB / 0.5611 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.007058, allocations: 71.33 kB / 0.5612 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.007078, allocations: 8.062 kB / 0.5612 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.007115, allocations: 20.48 kB / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.007116, allocations: 3.938 kB / 0.5612 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.02087, allocations: 2.461 MB / 0.5636 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.661/6.682, allocations: 5.234 kB / 0.5636 GB, free: 8.855 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.014254835434258] Failed to read output from testmodel.py, exit status != 0: 6.761530118063092 6.771533923 6.766353674 Calling exit ...