Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001962/0.001962, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00236/0.00236, allocations: 219.9 kB / 23.03 MB, free: 4.953 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.29/3.29, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.RealExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.003007/0.003007, allocations: 69.91 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3408, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00278/0.3436, allocations: 1.25 MB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.3459, allocations: 1.572 MB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.3461, allocations: 4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.3462, allocations: 35.53 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.3464, allocations: 75.38 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3477, allocations: 0.4987 MB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009965/0.3487, allocations: 0.6482 MB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.3491, allocations: 113.3 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.3496, allocations: 255.4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.35, allocations: 251.1 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.3502, allocations: 64 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.3504, allocations: 79.98 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.3505, allocations: 83.69 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.3509, allocations: 211.2 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000843/0.3517, allocations: 0.6929 MB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3517, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3517, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.3517, allocations: 0 / 1.332 GB, free: 11.67 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001419/0.3531, allocations: 0.8789 MB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3532, allocations: 12.03 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.029e-05/0.3532, allocations: 8.625 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.3533, allocations: 62.72 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.3534, allocations: 48.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3547, allocations: 405.5 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.3547, allocations: 32.86 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.3548, allocations: 40.38 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/0.3556, allocations: 456.6 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3557, allocations: 3.938 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.3557, allocations: 15.98 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.3557, allocations: 8 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007526/0.3565, allocations: 382.3 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.358, allocations: 0.7862 MB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.3588, allocations: 480.1 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.3594, allocations: 405.1 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3594, allocations: 4 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/0.3601, allocations: 460.2 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 3.116e-06/0.3601, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001871/0.362, allocations: 1.096 MB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.3621, allocations: 195.9 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.3625, allocations: 284.5 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.56e-05/0.3626, allocations: 45.64 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.3627, allocations: 176.9 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3629, allocations: 134.9 kB / 1.338 GB, free: 4.816 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.3632, allocations: 134.1 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3633, allocations: 358.7 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008375/0.3642, allocations: 0.5196 MB / 1.339 GB, free: 3.746 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008757/0.365, allocations: 0.6101 MB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.3663, allocations: 0.9129 MB / 1.341 GB, free: 2.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3664, allocations: 0 / 1.341 GB, free: 2.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001962/0.3683, allocations: 1.263 MB / 1.342 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.3685, allocations: 259.3 kB / 1.342 GB, free: 340 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3685, allocations: 4 kB / 1.342 GB, free: 336 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.3685, allocations: 7.984 kB / 1.342 GB, free: 328 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3688, allocations: 67.89 kB / 1.342 GB, free: 260 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.3688, allocations: 7.984 kB / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.3696, allocations: 143.7 kB / 1.343 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.3697, allocations: 67.86 kB / 1.343 GB, free: 40 kB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003556/0.3701, allocations: 330.8 kB / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.3702, allocations: 39.77 kB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.18e-05/0.3703, allocations: 35.48 kB / 1.343 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3703, allocations: 4 kB / 1.343 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3703, allocations: 4 kB / 1.343 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3703, allocations: 3.984 kB / 1.343 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.3723, allocations: 1.266 MB / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3723, allocations: 0 / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.3726, allocations: 67.89 kB / 1.344 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3726, allocations: 7.938 kB / 1.344 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.3726, allocations: 15.98 kB / 1.344 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3726, allocations: 3.938 kB / 1.344 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3726, allocations: 0 / 1.344 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.3739, allocations: 0.8918 MB / 1.345 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.3739, allocations: 47.64 kB / 1.345 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.374, allocations: 16 kB / 1.345 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.3742, allocations: 35.89 kB / 1.345 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.3743, allocations: 35.89 kB / 1.345 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/0.3744, allocations: 47.94 kB / 1.345 GB, free: 12.97 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002092/0.3746, allocations: 199.1 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3746, allocations: 0 / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004686/0.3751, allocations: 108 kB / 1.346 GB, free: 12.67 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.00174/0.3768, allocations: 1.464 MB / 1.347 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.3786, allocations: 1.433 MB / 1.349 GB, free: 9.488 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3786, allocations: 0 / 1.349 GB, free: 9.488 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007044/0.3793, allocations: 0.6223 MB / 1.349 GB, free: 8.773 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/0.3799, allocations: 98.67 kB / 1.349 GB, free: 8.68 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007913/0.3878, allocations: 5.839 MB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3881, allocations: 189 kB / 1.355 GB, free: 2.188 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002619/0.3883, allocations: 95.19 kB / 1.355 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.3885, allocations: 115.4 kB / 1.355 GB, free: 1.98 MB / 1.045 GB Notification: Performance of SimCode: time 6.51e-07/0.3885, allocations: 0 / 1.355 GB, free: 1.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.4245, allocations: 10.73 MB / 1.366 GB, free: 7.586 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.61, allocations: 5.781 kB / 1.366 GB, free: 7.582 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.582226567086764] Failed to read output from testmodel.py, exit status != 0: 12.781838007969782 12.798845241 12.443717714 Calling exit ...