Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001191/0.001191, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.001455/0.001455, allocations: 174.3 kB / 23.2 MB, free: 1.348 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.9028/0.9028, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5415/0.5415, allocations: 114 MB / 373.9 MB, free: 8.707 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.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.639e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002587/0.002624, allocations: 0.9368 MB / 0.5551 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.004826, allocations: 1.373 MB / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.004955, allocations: 4 kB / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.005098, allocations: 19.73 kB / 0.5565 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.005242, allocations: 43.66 kB / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.006163, allocations: 277.1 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.006571, allocations: 391.1 kB / 0.5571 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.00673, allocations: 45.77 kB / 0.5572 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.006968, allocations: 219.6 kB / 0.5574 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.00712, allocations: 103.8 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.007162, allocations: 39.94 kB / 0.5575 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.00728, allocations: 55.86 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.007359, allocations: 55.83 kB / 0.5576 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.633e-05/0.007455, allocations: 103.7 kB / 0.5577 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.007991, allocations: 438.8 kB / 0.5582 GB, free: 13.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.007996, allocations: 0 / 0.5582 GB, free: 13.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007997, allocations: 4 kB / 0.5582 GB, free: 13.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.008003, allocations: 0 / 0.5582 GB, free: 13.62 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000814/0.008817, allocations: 0.548 MB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.008862, allocations: 8.625 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.008902, allocations: 50.73 kB / 0.5587 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.009174, allocations: 72.72 kB / 0.5588 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.009723, allocations: 308.8 kB / 0.5591 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.009747, allocations: 12.38 kB / 0.5591 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.009788, allocations: 20.38 kB / 0.5591 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.01009, allocations: 194.4 kB / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.0101, allocations: 4.125 kB / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.01011, allocations: 12.36 kB / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.01012, allocations: 11.94 kB / 0.5594 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.01038, allocations: 131.8 kB / 0.5595 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.01119, allocations: 0.8205 MB / 0.5603 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.01138, allocations: 149 kB / 0.5604 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.0115, allocations: 80.23 kB / 0.5605 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.01151, allocations: 8 kB / 0.5605 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/0.01187, allocations: 175.4 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.943e-06/0.01188, allocations: 4 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005496/0.01242, allocations: 253.4 kB / 0.5609 GB, free: 10.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.01249, allocations: 166.2 kB / 0.5611 GB, free: 10.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01265, allocations: 221.7 kB / 0.5613 GB, free: 10.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.01268, allocations: 33.7 kB / 0.5613 GB, free: 10.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.01278, allocations: 156.6 kB / 0.5615 GB, free: 9.918 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.0128, allocations: 27.81 kB / 0.5615 GB, free: 9.891 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.01288, allocations: 57.69 kB / 0.5616 GB, free: 9.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.01298, allocations: 330.8 kB / 0.5619 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.0132, allocations: 163.3 kB / 0.562 GB, free: 9.324 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.01344, allocations: 284.2 kB / 0.5623 GB, free: 8.988 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.01377, allocations: 270.9 kB / 0.5626 GB, free: 8.684 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01378, allocations: 8 kB / 0.5626 GB, free: 8.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005025/0.01428, allocations: 447.9 kB / 0.563 GB, free: 8.207 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.01432, allocations: 67.62 kB / 0.5631 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01433, allocations: 3.984 kB / 0.5631 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01434, allocations: 4 kB / 0.5631 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.01443, allocations: 27.92 kB / 0.5631 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.01444, allocations: 7.984 kB / 0.5631 GB, free: 8.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.01464, allocations: 75.25 kB / 0.5632 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.01466, allocations: 15.98 kB / 0.5632 GB, free: 8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001144/0.01478, allocations: 150.7 kB / 0.5633 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.0148, allocations: 23.8 kB / 0.5633 GB, free: 7.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.01484, allocations: 25.33 kB / 0.5634 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.01485, allocations: 480 / 0.5634 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.01486, allocations: 4 kB / 0.5634 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01486, allocations: 0 / 0.5634 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.01504, allocations: 212.6 kB / 0.5636 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01504, allocations: 8 kB / 0.5636 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.0151, allocations: 27.97 kB / 0.5636 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01511, allocations: 7.922 kB / 0.5636 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01512, allocations: 4 kB / 0.5636 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01512, allocations: 3.938 kB / 0.5636 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01512, allocations: 4 kB / 0.5636 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.01544, allocations: 240.2 kB / 0.5639 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.01547, allocations: 19.84 kB / 0.5639 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01549, allocations: 4 kB / 0.5639 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.965e-05/0.01555, allocations: 23.91 kB / 0.5639 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.01561, allocations: 23.91 kB / 0.5639 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.01562, allocations: 4 kB / 0.5639 GB, free: 7.145 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.756e-05/0.01572, allocations: 157.2 kB / 0.5641 GB, free: 6.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01572, allocations: 4 kB / 0.5641 GB, free: 6.988 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.01593, allocations: 55.89 kB / 0.5641 GB, free: 6.934 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0005578/0.01649, allocations: 0.7756 MB / 0.5649 GB, free: 6.117 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004507/0.01694, allocations: 381.9 kB / 0.5653 GB, free: 5.707 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01694, allocations: 0 / 0.5653 GB, free: 5.707 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.01707, allocations: 76.44 kB / 0.5653 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.0173, allocations: 48.45 kB / 0.5654 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.02003, allocations: 2.821 MB / 0.5681 GB, free: 2.543 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.663e-05/0.02012, allocations: 132.9 kB / 0.5683 GB, free: 2.398 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.647e-05/0.02022, allocations: 45.55 kB / 0.5683 GB, free: 2.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.02029, allocations: 64.47 kB / 0.5684 GB, free: 2.289 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02029, allocations: 0 / 0.5684 GB, free: 2.289 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.03969, allocations: 6.228 MB / 0.5745 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.132, allocations: 12.67 kB / 0.5745 GB, free: 12.31 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.691758628934622] Failed to read output from testmodel.py, exit status != 0: 7.213924288749695 7.22260844 7.212726742 Calling exit ...