Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0008079/0.0008079, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008721/0.0008721, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.8821/0.8821, allocations: 177.2 MB / 203.5 MB, free: 5.488 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.5674/0.5674, allocations: 114 MB / 373.9 MB, free: 8.625 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.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.593e-05, allocations: 5.891 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001125/0.001141, allocations: 0.694 MB / 0.5549 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.002308, allocations: 1.264 MB / 0.5561 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.002348, allocations: 4 kB / 0.5561 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.896e-05/0.002437, allocations: 11.86 kB / 0.5561 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.002482, allocations: 19.81 kB / 0.5561 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.002972, allocations: 237.5 kB / 0.5564 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.00318, allocations: 251.6 kB / 0.5566 GB, free: 320 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.003283, allocations: 23.92 kB / 0.5566 GB, free: 296 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.003406, allocations: 139.8 kB / 0.5568 GB, free: 156 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.003519, allocations: 67.83 kB / 0.5568 GB, free: 88 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.003548, allocations: 20 kB / 0.5568 GB, free: 68 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.003617, allocations: 43.91 kB / 0.5569 GB, free: 24 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.003677, allocations: 35.98 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.003738, allocations: 63.75 kB / 0.557 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.003953, allocations: 275.2 kB / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003955, allocations: 0 / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003956, allocations: 0 / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.003959, allocations: 0 / 0.5572 GB, free: 15.66 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004006/0.00436, allocations: 434.6 kB / 0.5577 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.004394, allocations: 8.625 kB / 0.5577 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.004421, allocations: 38.75 kB / 0.5577 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.004649, allocations: 64.8 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.004956, allocations: 197.5 kB / 0.558 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.004969, allocations: 12.38 kB / 0.558 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.004992, allocations: 20.36 kB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.00513, allocations: 125.6 kB / 0.5581 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005138, allocations: 8.125 kB / 0.5581 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.005148, allocations: 8.359 kB / 0.5581 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.005155, allocations: 7.938 kB / 0.5581 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.005212, allocations: 47.91 kB / 0.5582 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.005684, allocations: 0.5979 MB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.783e-05/0.005732, allocations: 45.2 kB / 0.5588 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.005748, allocations: 21.72 kB / 0.5588 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.005754, allocations: 4 kB / 0.5588 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.00587, allocations: 93.09 kB / 0.5589 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.005871, allocations: 3.938 kB / 0.5589 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0001796/0.006051, allocations: 105.5 kB / 0.559 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.006086, allocations: 81.11 kB / 0.5591 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.006185, allocations: 170.2 kB / 0.5593 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.006206, allocations: 37.64 kB / 0.5593 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.006266, allocations: 124 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.839e-06/0.006276, allocations: 15.91 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.006337, allocations: 53.69 kB / 0.5595 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.006411, allocations: 326.8 kB / 0.5598 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.006512, allocations: 115.4 kB / 0.5599 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.006637, allocations: 227.3 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.006755, allocations: 170.1 kB / 0.5603 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.006757, allocations: 4.031 kB / 0.5603 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002736/0.00703, allocations: 328.2 kB / 0.5606 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.007066, allocations: 73.67 kB / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.007071, allocations: 4 kB / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.007081, allocations: 0 / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-05/0.007092, allocations: 4 kB / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.007099, allocations: 7.984 kB / 0.5607 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.007262, allocations: 52.16 kB / 0.5607 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.007282, allocations: 23.92 kB / 0.5608 GB, free: 11.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 8.269e-05/0.007365, allocations: 141.7 kB / 0.5609 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.007375, allocations: 11.91 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.007403, allocations: 20.64 kB / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.007405, allocations: 0 / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.007408, allocations: 8 kB / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.007412, allocations: 3.984 kB / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.007505, allocations: 168.7 kB / 0.5611 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.007506, allocations: 0 / 0.5611 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-06/0.007511, allocations: 7.984 kB / 0.5611 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007513, allocations: 0 / 0.5611 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.007519, allocations: 3.938 kB / 0.5611 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.00752, allocations: 4 kB / 0.5611 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007521, allocations: 0 / 0.5611 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.565e-05/0.007616, allocations: 117.9 kB / 0.5612 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-06/0.007625, allocations: 7.953 kB / 0.5612 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.007636, allocations: 12 kB / 0.5612 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.007649, allocations: 0 / 0.5612 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.007671, allocations: 7.984 kB / 0.5612 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.007677, allocations: 8.094 kB / 0.5613 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.11e-05/0.007728, allocations: 118.5 kB / 0.5614 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007728, allocations: 0 / 0.5614 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001621/0.00789, allocations: 39.95 kB / 0.5614 GB, free: 10.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0002661/0.008156, allocations: 0.6674 MB / 0.5621 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.008388, allocations: 274.3 kB / 0.5623 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.008389, allocations: 0 / 0.5623 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.008415, allocations: 19.92 kB / 0.5623 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.008572, allocations: 19.98 kB / 0.5624 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.01001, allocations: 2.152 MB / 0.5645 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.271e-05/0.01007, allocations: 110 kB / 0.5646 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.66e-05/0.0101, allocations: 12.97 kB / 0.5646 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.01014, allocations: 36.48 kB / 0.5646 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/0.01014, allocations: 0 / 0.5646 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.0266, allocations: 4.367 MB / 0.5689 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.11, allocations: 9.062 kB / 0.5689 GB, free: 3.211 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.511679731309414] Failed to read output from testmodel.py, exit status != 0: 7.189957741647959 7.199968618 7.1942173050000005 Calling exit ...