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.001794/0.001794, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002408/0.002408, allocations: 215.9 kB / 23.03 MB, free: 4.922 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.24/3.24, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.001954/0.001954, allocations: 61.59 kB / 1.155 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.458, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002556/0.4605, allocations: 0.8491 MB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.4628, allocations: 1.311 MB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.4629, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.4631, allocations: 31.73 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.4632, allocations: 23.8 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.4641, allocations: 262.1 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.4646, allocations: 335.4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.4648, allocations: 45.59 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.465, allocations: 131.7 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.4652, allocations: 119.5 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.4653, allocations: 28 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.4654, allocations: 47.98 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.4655, allocations: 35.86 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.4657, allocations: 115.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.4662, allocations: 346.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4662, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4662, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4662, allocations: 0 / 1.33 GB, free: 13.84 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.0008912/0.4671, allocations: 492.7 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4671, allocations: 8.031 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.934e-05/0.4671, allocations: 4.188 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.4672, allocations: 50.67 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/0.4676, allocations: 52.81 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.4682, allocations: 242.8 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.4683, allocations: 16.31 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.4683, allocations: 20.38 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.4686, allocations: 149.1 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4686, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.4686, allocations: 4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.4686, allocations: 4 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.4688, allocations: 67.89 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.4698, allocations: 0.6758 MB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.47, allocations: 57.23 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.47, allocations: 21.78 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.47, allocations: 3.984 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.4704, allocations: 105 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4704, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003617/0.4708, allocations: 133.5 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.4708, allocations: 89.05 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.4711, allocations: 211.7 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.4712, allocations: 33.7 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4713, allocations: 140.3 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.4714, allocations: 15.84 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.4715, allocations: 65.69 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4717, allocations: 330.8 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.4719, allocations: 131.4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.4722, allocations: 243.3 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.4725, allocations: 194.2 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4726, allocations: 4 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006149/0.4732, allocations: 376.1 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.4733, allocations: 63.39 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4733, allocations: 4.188 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.4733, allocations: 4 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.4734, allocations: 15.98 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.4734, allocations: 4 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.4737, allocations: 51.88 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.4738, allocations: 8 kB / 1.334 GB, free: 9.418 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.0002106/0.474, allocations: 162.2 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.474, allocations: 11.91 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.189e-05/0.4741, allocations: 21.03 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4741, allocations: 480 / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4741, allocations: 0 / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4741, allocations: 3.984 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.4743, allocations: 196.6 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4744, allocations: 4 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.4744, allocations: 4 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.4744, allocations: 3.984 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4744, allocations: 7.984 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-05/0.4744, allocations: 3.938 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4744, allocations: 7.938 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.4747, allocations: 133.8 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.4747, allocations: 11.91 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.4747, allocations: 4 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.4748, allocations: 4 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.4748, allocations: 7.984 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4748, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001634/0.475, allocations: 149.5 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.475, allocations: 0 / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002907/0.4753, allocations: 47.89 kB / 1.335 GB, free: 8.574 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.0006159/0.4759, allocations: 0.6834 MB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.4764, allocations: 298 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4764, allocations: 0 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/0.4764, allocations: 24 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.4767, allocations: 40.28 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.4799, allocations: 2.449 MB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.48, allocations: 111.6 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.982e-05/0.4801, allocations: 25.47 kB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.4802, allocations: 55.42 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4802, allocations: 0 / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.5076, allocations: 4.699 MB / 1.343 GB, free: 160 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.95, allocations: 8 kB / 1.343 GB, free: 152 kB / 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.011508792056702] Failed to read output from testmodel.py, exit status != 0: 12.116035840008408 12.146126209 11.674632821 Calling exit ...