Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001395/0.001395, allocations: 76.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.001055/0.001055, allocations: 170.3 kB / 23.2 MB, free: 1.359 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.9127/0.9127, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.5519/0.5519, allocations: 114 MB / 373.9 MB, free: 8.703 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.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.349e-05, allocations: 7.344 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001451/0.001474, allocations: 0.8277 MB / 0.555 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.002781, allocations: 1.314 MB / 0.5563 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.002833, allocations: 4 kB / 0.5563 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.973e-05/0.002933, allocations: 19.73 kB / 0.5563 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.002997, allocations: 35.72 kB / 0.5563 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.003599, allocations: 264.7 kB / 0.5566 GB, free: 316 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.003865, allocations: 327.4 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.003983, allocations: 41.61 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.004137, allocations: 187.7 kB / 0.5571 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004258, allocations: 87.75 kB / 0.5572 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.004303, allocations: 28 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.004398, allocations: 51.91 kB / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.004454, allocations: 47.84 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.004529, allocations: 87.81 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.004795, allocations: 386.8 kB / 0.5578 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004797, allocations: 0 / 0.5578 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004797, allocations: 4 kB / 0.5578 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004801, allocations: 0 / 0.5578 GB, free: 15.08 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004798/0.005281, allocations: 486.9 kB / 0.5582 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.005324, allocations: 8.031 kB / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.00537, allocations: 50.67 kB / 0.5583 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.005607, allocations: 68.75 kB / 0.5584 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.005971, allocations: 237.5 kB / 0.5586 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.00599, allocations: 12.38 kB / 0.5586 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.006015, allocations: 20.38 kB / 0.5586 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.006168, allocations: 145.6 kB / 0.5588 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.006177, allocations: 8.109 kB / 0.5588 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.006188, allocations: 4.375 kB / 0.5588 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.006202, allocations: 7.938 kB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.00628, allocations: 63.91 kB / 0.5588 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.00677, allocations: 0.6797 MB / 0.5595 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.006833, allocations: 57.23 kB / 0.5596 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.006858, allocations: 25.77 kB / 0.5596 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.006867, allocations: 3.938 kB / 0.5596 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.007005, allocations: 101 kB / 0.5597 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.007006, allocations: 0 / 0.5597 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.000204/0.00721, allocations: 129.8 kB / 0.5598 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.007242, allocations: 85.11 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.007374, allocations: 207.8 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.007396, allocations: 33.7 kB / 0.5601 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.007472, allocations: 148.3 kB / 0.5603 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.007482, allocations: 11.84 kB / 0.5603 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-05/0.007549, allocations: 69.67 kB / 0.5603 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.007624, allocations: 322.8 kB / 0.5607 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.007745, allocations: 131.4 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.007885, allocations: 243.3 kB / 0.561 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.008025, allocations: 194.2 kB / 0.5612 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.008027, allocations: 4 kB / 0.5612 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003103/0.008337, allocations: 368.1 kB / 0.5615 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.008368, allocations: 61.91 kB / 0.5616 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008373, allocations: 144 / 0.5616 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.008383, allocations: 12.17 kB / 0.5616 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.008426, allocations: 11.98 kB / 0.5616 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.008434, allocations: 7.938 kB / 0.5616 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.008595, allocations: 55.89 kB / 0.5617 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.008613, allocations: 19.98 kB / 0.5617 GB, free: 10.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: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 9.59e-05/0.008709, allocations: 150.4 kB / 0.5619 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.008723, allocations: 15.84 kB / 0.5619 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.00875, allocations: 24.95 kB / 0.5619 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008752, allocations: 3.938 kB / 0.5619 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.008756, allocations: 0 / 0.5619 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008759, allocations: 0 / 0.5619 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.008876, allocations: 196.7 kB / 0.5621 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008878, allocations: 7.938 kB / 0.5621 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.008892, allocations: 11.92 kB / 0.5621 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.008893, allocations: 0 / 0.5621 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.008899, allocations: 0 / 0.5621 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.008901, allocations: 8 kB / 0.5621 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008902, allocations: 0 / 0.5621 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.009007, allocations: 133.8 kB / 0.5622 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.009024, allocations: 19.84 kB / 0.5623 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.009037, allocations: 7.984 kB / 0.5623 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.009053, allocations: 0 / 0.5623 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.009078, allocations: 7.984 kB / 0.5623 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.009083, allocations: 4 kB / 0.5623 GB, free: 10 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.009156, allocations: 149.4 kB / 0.5624 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.009156, allocations: 0 / 0.5624 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001715/0.009327, allocations: 47.89 kB / 0.5625 GB, free: 9.812 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: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002899/0.009617, allocations: 0.6796 MB / 0.5631 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.009868, allocations: 298 kB / 0.5634 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009869, allocations: 0 / 0.5634 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.009901, allocations: 27.98 kB / 0.5634 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.01008, allocations: 40.2 kB / 0.5635 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.01175, allocations: 2.43 MB / 0.5659 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.991e-05/0.01182, allocations: 115.5 kB / 0.566 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.659e-05/0.01186, allocations: 29.84 kB / 0.566 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.01192, allocations: 56.47 kB / 0.566 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.01192, allocations: 0 / 0.566 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.02792, allocations: 5.189 MB / 0.5711 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.08, allocations: 6.016 kB / 0.5711 GB, free: 0.9219 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.636466504074633] Failed to read output from testmodel.py, exit status != 0: 7.161467815749347 7.169954843 7.163462688 Calling exit ...