Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001311/0.001311, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001467/0.001467, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.33/3.33, allocations: 0.49 GB / 0.7959 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.00286/0.00286, allocations: 61.38 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4541, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00302/0.4571, allocations: 0.8882 MB / 1.328 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.4596, allocations: 1.334 MB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.4597, allocations: 4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.4599, allocations: 19.8 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.46, allocations: 35.72 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.4608, allocations: 265 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00044/0.4613, allocations: 327.4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.4615, allocations: 37.66 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.4616, allocations: 131.7 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.4619, allocations: 111.6 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.4619, allocations: 32 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.4621, allocations: 59.89 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.4621, allocations: 43.84 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.4623, allocations: 119.5 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.4627, allocations: 350.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4627, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4627, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.4627, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 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.00081/0.4636, allocations: 484.7 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.4636, allocations: 12.03 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.847e-05/0.4636, allocations: 192 / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.4637, allocations: 46.73 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003671/0.464, allocations: 64.78 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.4647, allocations: 230.9 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.4647, allocations: 20.31 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.4648, allocations: 20.31 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.465, allocations: 155.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.465, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4651, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4651, allocations: 4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4652, allocations: 67.91 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/0.4661, allocations: 0.7226 MB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.4663, allocations: 53.2 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.4663, allocations: 25.72 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.4663, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.4666, allocations: 113 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.4666, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003707/0.467, allocations: 129.5 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.467, allocations: 77.11 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.4673, allocations: 211.7 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.4673, allocations: 33.7 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.4675, allocations: 148.3 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.4675, allocations: 23.83 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.4676, allocations: 61.64 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4678, allocations: 334.8 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.468, allocations: 63.91 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.4682, allocations: 132.5 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.4684, allocations: 202.1 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4684, allocations: 0 / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005355/0.469, allocations: 296.8 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.4691, allocations: 59.41 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4691, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.4691, allocations: 7.984 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.4692, allocations: 15.94 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4692, allocations: 4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.4695, allocations: 52.12 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.4696, allocations: 15.98 kB / 1.334 GB, free: 10.07 MB / 1.029 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.0001915/0.4697, allocations: 154.1 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4698, allocations: 19.86 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.4698, allocations: 25.02 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4698, allocations: 4 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4698, allocations: 0 / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4698, allocations: 0 / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.4701, allocations: 204.6 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4701, allocations: 0 / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.4701, allocations: 4 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4701, allocations: 4 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4701, allocations: 4 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4701, allocations: 0 / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4701, allocations: 0 / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.4703, allocations: 137.8 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.4704, allocations: 19.89 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.4704, allocations: 4 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.4704, allocations: 4 kB / 1.335 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.4705, allocations: 7.984 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4705, allocations: 8 kB / 1.335 GB, free: 9.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001587/0.4706, allocations: 141.5 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4706, allocations: 0 / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002874/0.4709, allocations: 47.89 kB / 1.335 GB, free: 9.223 MB / 1.029 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.0006414/0.4716, allocations: 0.6776 MB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.472, allocations: 238.7 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.472, allocations: 4 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.472, allocations: 23.94 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.4724, allocations: 41.8 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.4754, allocations: 2.192 MB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.4759, allocations: 0.7281 MB / 1.339 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.828e-05/0.476, allocations: 17.48 kB / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/0.4761, allocations: 63.41 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/0.4761, allocations: 0 / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.5038, allocations: 4.434 MB / 1.343 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.92, allocations: 13.62 kB / 1.343 GB, free: 0.7617 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.02055100601865] Failed to read output from testmodel.py, exit status != 0: 12.085406536003575 12.114170541 11.646083941 Calling exit ...