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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 112.1 kB / 17.07 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 191.8 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.071/1.071, allocations: 147.6 MB / 445.5 MB, free: 8.391 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.2886/0.2886, allocations: 63.41 kB / 0.6109 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.4619, allocations: 83.16 MB / 0.6921 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002221/0.4641, allocations: 0.8489 MB / 0.6929 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.466, allocations: 1.289 MB / 0.6942 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.4661, allocations: 1.344 kB / 0.6942 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.4662, allocations: 21.14 kB / 0.6942 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.4663, allocations: 27.53 kB / 0.6942 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.4671, allocations: 263.5 kB / 0.6945 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.4676, allocations: 348.6 kB / 0.6948 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.4678, allocations: 55.75 kB / 0.6949 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.468, allocations: 137.5 kB / 0.695 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.4682, allocations: 109.8 kB / 0.6951 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.157e-05/0.4683, allocations: 29.81 kB / 0.6951 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4684, allocations: 52.22 kB / 0.6952 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.4685, allocations: 50.03 kB / 0.6952 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.4687, allocations: 110.9 kB / 0.6953 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.4691, allocations: 351 kB / 0.6957 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4691, allocations: 0 / 0.6957 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4691, allocations: 0 / 0.6957 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4692, allocations: 1.438 kB / 0.6957 GB, free: 10.7 MB / 0.5137 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.0008529/0.47, allocations: 0.5543 MB / 0.6962 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4701, allocations: 9.844 kB / 0.6962 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/0.4701, allocations: 47.05 kB / 0.6963 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.4702, allocations: 31.02 kB / 0.6963 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.4709, allocations: 295.4 kB / 0.6966 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.4709, allocations: 16.61 kB / 0.6966 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.471, allocations: 19.5 kB / 0.6966 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.4712, allocations: 157.6 kB / 0.6968 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4713, allocations: 3.938 kB / 0.6968 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.4713, allocations: 5.375 kB / 0.6968 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4713, allocations: 2.75 kB / 0.6968 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.4714, allocations: 66.28 kB / 0.6968 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.4723, allocations: 0.7653 MB / 0.6976 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.4724, allocations: 52.28 kB / 0.6976 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.4725, allocations: 28.58 kB / 0.6977 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.4725, allocations: 5.312 kB / 0.6977 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.4728, allocations: 105.8 kB / 0.6978 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.4728, allocations: 0 / 0.6978 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003298/0.4732, allocations: 125.9 kB / 0.6979 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.4733, allocations: 82.48 kB / 0.698 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.4735, allocations: 217.3 kB / 0.6982 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.4736, allocations: 37.31 kB / 0.6982 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.4738, allocations: 138.8 kB / 0.6983 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.4738, allocations: 18.3 kB / 0.6984 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.4739, allocations: 68.95 kB / 0.6984 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.4741, allocations: 334.8 kB / 0.6987 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.4743, allocations: 62.12 kB / 0.6988 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.4746, allocations: 135.6 kB / 0.6989 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.4748, allocations: 190.5 kB / 0.6991 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4748, allocations: 0 / 0.6991 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005237/0.4754, allocations: 298.8 kB / 0.6994 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.4754, allocations: 63.59 kB / 0.6995 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4755, allocations: 7.984 kB / 0.6995 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4755, allocations: 0 / 0.6995 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.4756, allocations: 15.94 kB / 0.6995 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4756, allocations: 4 kB / 0.6995 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.476, allocations: 75.81 kB / 0.6996 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.4761, allocations: 15.98 kB / 0.6996 GB, free: 6.992 MB / 0.5137 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 0.0001783/0.4763, allocations: 149.8 kB / 0.6997 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.4763, allocations: 11.91 kB / 0.6997 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.4764, allocations: 24.86 kB / 0.6998 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4764, allocations: 0 / 0.6998 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4764, allocations: 0 / 0.6998 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4764, allocations: 480 / 0.6998 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.4767, allocations: 233.5 kB / 0.7 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4767, allocations: 0 / 0.7 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.4767, allocations: 8 kB / 0.7 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4767, allocations: 7.938 kB / 0.7 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4767, allocations: 0 / 0.7 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4767, allocations: 0 / 0.7 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4767, allocations: 0 / 0.7 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.477, allocations: 149.7 kB / 0.7001 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.477, allocations: 89.02 kB / 0.7002 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.4771, allocations: 4 kB / 0.7002 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.042e-05/0.4771, allocations: 4 kB / 0.7002 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.4772, allocations: 11.98 kB / 0.7002 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4772, allocations: 4 kB / 0.7002 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001401/0.4773, allocations: 141.5 kB / 0.7004 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4773, allocations: 0 / 0.7004 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002843/0.4776, allocations: 47.89 kB / 0.7004 GB, free: 6.031 MB / 0.5137 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.0007554/0.4784, allocations: 0.6833 MB / 0.7011 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.4788, allocations: 258.7 kB / 0.7013 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4789, allocations: 3.938 kB / 0.7013 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.4789, allocations: 31.94 kB / 0.7014 GB, free: 5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.4792, allocations: 37.75 kB / 0.7014 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.4822, allocations: 2.178 MB / 0.7035 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.4826, allocations: 0.7279 MB / 0.7042 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.256e-05/0.4827, allocations: 21.48 kB / 0.7043 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.4828, allocations: 63.34 kB / 0.7043 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.4828, allocations: 0 / 0.7043 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.5091, allocations: 4.37 MB / 0.7086 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.583, allocations: 17.8 kB / 0.7086 GB, free: 13.57 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.257511117029935] Failed to read output from testmodel.py, exit status != 0: 8.653771376004443 8.673050303 8.201282666 Calling exit ...