Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0008877/0.0008877, 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.0008949/0.0008949, 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.8699/0.8699, 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.5611/0.5611, allocations: 114 MB / 373.9 MB, free: 8.695 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.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.5542 GB, free: 1.715 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.751e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001741/0.001759, allocations: 0.7071 MB / 0.5549 GB, free: 1.008 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.003359, allocations: 1.217 MB / 0.556 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.003415, allocations: 0 / 0.556 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.003451, allocations: 7.922 kB / 0.556 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.00353, allocations: 15.86 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.00409, allocations: 147.4 kB / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.004274, allocations: 115.8 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.004376, allocations: 11.94 kB / 0.5563 GB, free: 15.49 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.004502, allocations: 67.92 kB / 0.5564 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.004611, allocations: 39.88 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.004637, allocations: 8 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.004712, allocations: 27.98 kB / 0.5565 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.004737, allocations: 8 kB / 0.5565 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.004799, allocations: 39.89 kB / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.005008, allocations: 139.6 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.00501, allocations: 0 / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005011, allocations: 4 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005015, allocations: 0 / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005411/0.005556, allocations: 328.7 kB / 0.557 GB, free: 14.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.005599, allocations: 8.625 kB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.005638, allocations: 34.75 kB / 0.557 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.00573, allocations: 12.89 kB / 0.557 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.902e-05/0.005819, allocations: 113.7 kB / 0.5571 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.005838, allocations: 4.375 kB / 0.5571 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.005859, allocations: 8.375 kB / 0.5571 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.006044, allocations: 70.16 kB / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.006053, allocations: 192 / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.006064, allocations: 8.312 kB / 0.5572 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.00607, allocations: 4.125 kB / 0.5572 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.006211, allocations: 39.95 kB / 0.5572 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.006678, allocations: 271.9 kB / 0.5575 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.00682, allocations: 50.48 kB / 0.5576 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.006895, allocations: 32.88 kB / 0.5576 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.006915, allocations: 0 / 0.5576 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.007112, allocations: 91.31 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.007115, allocations: 3.984 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003372/0.007452, allocations: 137.8 kB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.007484, allocations: 55.34 kB / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.00755, allocations: 125.7 kB / 0.558 GB, free: 13.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.007568, allocations: 29.7 kB / 0.558 GB, free: 13.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.007611, allocations: 92.2 kB / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.007626, allocations: 15.89 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.007675, allocations: 33.7 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.007748, allocations: 318.8 kB / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.007851, allocations: 81.61 kB / 0.5585 GB, free: 13.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.007954, allocations: 105.1 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.008101, allocations: 137 kB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.008104, allocations: 3.938 kB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002512/0.008355, allocations: 224.9 kB / 0.559 GB, free: 12.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.008384, allocations: 43.09 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.008392, allocations: 0 / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.008404, allocations: 12 kB / 0.559 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.008467, allocations: 15.98 kB / 0.559 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.008471, allocations: 0 / 0.559 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.008572, allocations: 31.92 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.008587, allocations: 11.98 kB / 0.5591 GB, free: 12.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 6.874e-05/0.008656, allocations: 125.7 kB / 0.5592 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.008664, allocations: 4.469 kB / 0.5592 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.008831, allocations: 114 kB / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008834, allocations: 3.984 kB / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.008839, allocations: 4 kB / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008842, allocations: 0 / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.009085, allocations: 325.5 kB / 0.5596 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.009086, allocations: 0 / 0.5596 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.009117, allocations: 11.92 kB / 0.5596 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.009118, allocations: 4 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.009126, allocations: 8 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009127, allocations: 0 / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.009129, allocations: 3.984 kB / 0.5597 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.009289, allocations: 207.4 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.009296, allocations: 7.953 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.009308, allocations: 0 / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.009357, allocations: 7.984 kB / 0.5599 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.00939, allocations: 8 kB / 0.5599 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.009397, allocations: 7.984 kB / 0.5599 GB, free: 11.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.006e-05/0.009427, allocations: 87.28 kB / 0.56 GB, free: 11.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009427, allocations: 0 / 0.56 GB, free: 11.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000177/0.009604, allocations: 20 kB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000361/0.009965, allocations: 0.7474 MB / 0.5607 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.01021, allocations: 181 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01021, allocations: 4.062 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.209e-05/0.01027, allocations: 35.95 kB / 0.5609 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.01047, allocations: 19.81 kB / 0.561 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.01176, allocations: 1.761 MB / 0.5627 GB, free: 8.465 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.0118, allocations: 71.2 kB / 0.5627 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.463e-05/0.01183, allocations: 4 kB / 0.5627 GB, free: 8.371 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.01186, allocations: 20.48 kB / 0.5628 GB, free: 8.352 MB / 490.7 MB Notification: Performance of SimCode: time 4e-07/0.01186, allocations: 0 / 0.5628 GB, free: 8.352 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.0271, allocations: 3.249 MB / 0.5659 GB, free: 5.281 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.495/6.523, allocations: 5.719 kB / 0.5659 GB, free: 5.277 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.872474209405482] Failed to read output from testmodel.py, exit status != 0: 6.603549750521779 6.614964286 6.608150326 Calling exit ...