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.001289/0.001289, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 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.001442/0.001442, allocations: 198.3 kB / 20.79 MB, free: 2.297 MB / 14.72 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 1.58/1.58, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.043/1.043, allocations: 150 MB / 460.2 MB, free: 5.277 MB / 350.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 65.03 kB / 0.6368 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2025, allocations: 89.13 MB / 0.7238 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002653/0.2052, allocations: 0.852 MB / 0.7247 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.2076, allocations: 1.336 MB / 0.726 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2077, allocations: 7.938 kB / 0.726 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2078, allocations: 11.81 kB / 0.726 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2079, allocations: 43.7 kB / 0.726 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.2088, allocations: 256 kB / 0.7263 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.2092, allocations: 323.4 kB / 0.7266 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.2094, allocations: 53.41 kB / 0.7266 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.2096, allocations: 135.7 kB / 0.7268 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2098, allocations: 99.64 kB / 0.7269 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.2098, allocations: 32 kB / 0.7269 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.21, allocations: 55.95 kB / 0.7269 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.2101, allocations: 47.78 kB / 0.727 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.2102, allocations: 115.5 kB / 0.7271 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.2107, allocations: 350.7 kB / 0.7274 GB, free: 352 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2107, allocations: 8 kB / 0.7274 GB, free: 344 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2107, allocations: 0 / 0.7274 GB, free: 344 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2107, allocations: 0 / 0.7274 GB, free: 344 kB / 0.5294 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.0009002/0.2116, allocations: 0.5525 MB / 0.728 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2116, allocations: 12.03 kB / 0.728 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.315e-05/0.2116, allocations: 4.125 kB / 0.728 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.2117, allocations: 46.73 kB / 0.728 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.212, allocations: 60.8 kB / 0.7281 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.2127, allocations: 303.8 kB / 0.7284 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.2128, allocations: 12.38 kB / 0.7284 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.2128, allocations: 32.28 kB / 0.7284 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.2131, allocations: 149.9 kB / 0.7286 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2131, allocations: 0 / 0.7286 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.2131, allocations: 12 kB / 0.7286 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2132, allocations: 4 kB / 0.7286 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.2133, allocations: 67.89 kB / 0.7287 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.2142, allocations: 0.7469 MB / 0.7294 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.2144, allocations: 57.2 kB / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.2144, allocations: 21.77 kB / 0.7295 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.2144, allocations: 7.938 kB / 0.7295 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.2147, allocations: 105 kB / 0.7296 GB, free: 13.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2147, allocations: 0 / 0.7296 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000351/0.2151, allocations: 129.5 kB / 0.7297 GB, free: 13.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.2151, allocations: 81.11 kB / 0.7298 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.2154, allocations: 207.8 kB / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.2154, allocations: 33.7 kB / 0.73 GB, free: 13.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.2156, allocations: 144.3 kB / 0.7301 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.2156, allocations: 15.91 kB / 0.7302 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.2157, allocations: 73.62 kB / 0.7302 GB, free: 13.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2159, allocations: 326.8 kB / 0.7305 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.2161, allocations: 63.97 kB / 0.7306 GB, free: 12.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.2163, allocations: 136.5 kB / 0.7307 GB, free: 12.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.2166, allocations: 190.1 kB / 0.7309 GB, free: 12.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2166, allocations: 4.031 kB / 0.7309 GB, free: 12.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005459/0.2171, allocations: 296.8 kB / 0.7312 GB, free: 12.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.2172, allocations: 65.42 kB / 0.7313 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2172, allocations: 4 kB / 0.7313 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2172, allocations: 0 / 0.7313 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.118e-05/0.2173, allocations: 11.94 kB / 0.7313 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2173, allocations: 4 kB / 0.7313 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.2177, allocations: 64.02 kB / 0.7313 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.2177, allocations: 15.98 kB / 0.7314 GB, free: 11.94 MB / 0.545 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.0001799/0.2179, allocations: 157.6 kB / 0.7315 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.2179, allocations: 15.91 kB / 0.7315 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.2179, allocations: 20.86 kB / 0.7315 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2179, allocations: 4 kB / 0.7315 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2179, allocations: 0 / 0.7315 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2179, allocations: 4 kB / 0.7315 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.2182, allocations: 237.5 kB / 0.7318 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2182, allocations: 4.469 kB / 0.7318 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.2182, allocations: 4 kB / 0.7318 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2182, allocations: 0 / 0.7318 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2183, allocations: 3.984 kB / 0.7318 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2183, allocations: 4 kB / 0.7318 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2183, allocations: 0 / 0.7318 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.2185, allocations: 145.7 kB / 0.7319 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.2185, allocations: 92.95 kB / 0.732 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2186, allocations: 0 / 0.732 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.2186, allocations: 4 kB / 0.732 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.2186, allocations: 7.984 kB / 0.732 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2186, allocations: 4 kB / 0.732 GB, free: 11.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001401/0.2188, allocations: 145.5 kB / 0.7322 GB, free: 11.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2188, allocations: 4 kB / 0.7322 GB, free: 11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000279/0.2191, allocations: 43.94 kB / 0.7322 GB, free: 10.96 MB / 0.545 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.0005789/0.2196, allocations: 0.6843 MB / 0.7329 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004208/0.2201, allocations: 234.7 kB / 0.7331 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2201, allocations: 0 / 0.7331 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.2201, allocations: 27.92 kB / 0.7331 GB, free: 9.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.2204, allocations: 33.81 kB / 0.7332 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.2234, allocations: 2.185 MB / 0.7353 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.2239, allocations: 0.728 MB / 0.736 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.294e-05/0.224, allocations: 21.55 kB / 0.736 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.224, allocations: 55.41 kB / 0.7361 GB, free: 6.773 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.224, allocations: 0 / 0.7361 GB, free: 6.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.2485, allocations: 4.305 MB / 0.7403 GB, free: 2.645 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.697, allocations: 14.31 kB / 0.7403 GB, free: 2.633 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 12.769131881010253] Failed to read output from testmodel.py, exit status != 0: 8.82678698602831 8.853858845 8.638224262 Calling exit ...