Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007774/0.0007774, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008188/0.0008188, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9023/0.9023, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.572/0.572, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.576e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001746/0.001761, allocations: 1.233 MB / 0.5554 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.003532, allocations: 1.571 MB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.003664, allocations: 7.938 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.003808, allocations: 31.61 kB / 0.557 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.003925, allocations: 87.3 kB / 0.557 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.004816, allocations: 0.4932 MB / 0.5575 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.005307, allocations: 0.6675 MB / 0.5582 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.005539, allocations: 105.3 kB / 0.5583 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.005845, allocations: 363.5 kB / 0.5586 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.006036, allocations: 199.5 kB / 0.5588 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.141e-05/0.006097, allocations: 64 kB / 0.5589 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.0062, allocations: 75.98 kB / 0.559 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.006274, allocations: 83.69 kB / 0.559 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.006422, allocations: 187.6 kB / 0.5592 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.006945, allocations: 0.7634 MB / 0.56 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.006947, allocations: 0 / 0.56 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.031e-06/0.006948, allocations: 0 / 0.56 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.006956, allocations: 0 / 0.56 GB, free: 12.88 MB / 0.5261 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.0008745/0.00783, allocations: 0.8711 MB / 0.5608 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.007869, allocations: 12.62 kB / 0.5608 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.007914, allocations: 62.72 kB / 0.5609 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.007994, allocations: 52.7 kB / 0.5609 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007074/0.008701, allocations: 416.6 kB / 0.5613 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.008728, allocations: 28.86 kB / 0.5614 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.008775, allocations: 40.38 kB / 0.5614 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.009194, allocations: 453 kB / 0.5618 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.009203, allocations: 192 / 0.5618 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.009221, allocations: 12.38 kB / 0.5618 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.009229, allocations: 15.88 kB / 0.5619 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.009616, allocations: 390.2 kB / 0.5622 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.01056, allocations: 0.7707 MB / 0.563 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.01097, allocations: 483.6 kB / 0.5634 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.01127, allocations: 393.8 kB / 0.5638 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.01129, allocations: 11.86 kB / 0.5638 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/0.01165, allocations: 460.1 kB / 0.5643 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 1.853e-06/0.01165, allocations: 0 / 0.5643 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.0009544/0.0126, allocations: 1.104 MB / 0.5653 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.01267, allocations: 191.9 kB / 0.5655 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.01286, allocations: 292.5 kB / 0.5658 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.0129, allocations: 41.7 kB / 0.5658 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.013, allocations: 172.9 kB / 0.566 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.01306, allocations: 138.9 kB / 0.5661 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.01319, allocations: 134.1 kB / 0.5663 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/0.01328, allocations: 346.8 kB / 0.5666 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.01371, allocations: 0.5235 MB / 0.5671 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.01416, allocations: 0.6103 MB / 0.5677 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/0.01484, allocations: 0.9177 MB / 0.5686 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01484, allocations: 0 / 0.5686 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009899/0.01583, allocations: 1.268 MB / 0.5698 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/0.01592, allocations: 255.3 kB / 0.5701 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01592, allocations: 4 kB / 0.5701 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01594, allocations: 7.984 kB / 0.5701 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01609, allocations: 71.83 kB / 0.5702 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.01609, allocations: 4 kB / 0.5702 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.01646, allocations: 143.6 kB / 0.5703 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.01652, allocations: 75.92 kB / 0.5704 GB, free: 1.254 MB / 0.5261 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.0001671/0.01669, allocations: 310.2 kB / 0.5707 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.01672, allocations: 47.7 kB / 0.5707 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.01678, allocations: 43.48 kB / 0.5708 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01678, allocations: 4 kB / 0.5708 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.01678, allocations: 0 / 0.5708 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01679, allocations: 0 / 0.5708 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.01781, allocations: 1.258 MB / 0.572 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01781, allocations: 4 kB / 0.572 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.01793, allocations: 63.88 kB / 0.5721 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.01793, allocations: 4 kB / 0.5721 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.01795, allocations: 8 kB / 0.5721 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01795, allocations: 0 / 0.5721 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01795, allocations: 8 kB / 0.5721 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.01859, allocations: 0.9076 MB / 0.573 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.01862, allocations: 39.69 kB / 0.573 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01865, allocations: 12 kB / 0.573 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01875, allocations: 35.84 kB / 0.573 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.01881, allocations: 35.94 kB / 0.5731 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.01885, allocations: 47.94 kB / 0.5731 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001306/0.01898, allocations: 203 kB / 0.5733 GB, free: 14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.01898, allocations: 0 / 0.5733 GB, free: 14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002739/0.01926, allocations: 107.9 kB / 0.5734 GB, free: 13.9 MB / 0.5417 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.0008507/0.02011, allocations: 1.455 MB / 0.5748 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009933/0.0211, allocations: 1.429 MB / 0.5762 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.0211, allocations: 4.062 kB / 0.5762 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.02146, allocations: 0.6184 MB / 0.5768 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.02178, allocations: 94.86 kB / 0.5769 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.02624, allocations: 5.858 MB / 0.5827 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.02636, allocations: 185 kB / 0.5828 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.0265, allocations: 95.19 kB / 0.5829 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.02662, allocations: 120.5 kB / 0.583 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/0.02662, allocations: 4 kB / 0.583 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.04778, allocations: 11.16 MB / 0.5939 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.102, allocations: 6.344 kB / 0.5939 GB, free: 8.332 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.564067845232785] Failed to read output from testmodel.py, exit status != 0: 7.1900016302242875 7.199064718 7.190376455 Calling exit ...