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.001869/0.001869, allocations: 105 kB / 20.48 MB, free: 1.488 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.002535/0.002535, allocations: 215.9 kB / 23.79 MB, free: 4.703 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.536/1.536, allocations: 230.6 MB / 257.6 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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 1.044/1.044, allocations: 150 MB / 464 MB, free: 10.51 MB / 366.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002027/0.002027, allocations: 66.67 kB / 0.642 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1879, allocations: 89.18 MB / 0.7291 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003149/0.1911, allocations: 1.337 MB / 0.7304 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.1935, allocations: 1.58 MB / 0.732 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1936, allocations: 7.938 kB / 0.732 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1938, allocations: 39.53 kB / 0.732 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1939, allocations: 67.44 kB / 0.7321 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1952, allocations: 0.5024 MB / 0.7326 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.196, allocations: 0.6482 MB / 0.7332 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.1962, allocations: 121.3 kB / 0.7333 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.1966, allocations: 263.3 kB / 0.7336 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.1969, allocations: 243.2 kB / 0.7338 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.309e-05/0.197, allocations: 64 kB / 0.7339 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1972, allocations: 79.94 kB / 0.7339 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1973, allocations: 83.73 kB / 0.734 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.1975, allocations: 250.9 kB / 0.7343 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007264/0.1983, allocations: 0.6851 MB / 0.7349 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1983, allocations: 4 kB / 0.7349 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1983, allocations: 0 / 0.7349 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.1983, allocations: 0 / 0.7349 GB, free: 11.33 MB / 0.5606 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.001334/0.1996, allocations: 0.8711 MB / 0.7358 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1997, allocations: 12.03 kB / 0.7358 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.951e-05/0.1997, allocations: 4.688 kB / 0.7358 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.1997, allocations: 66.72 kB / 0.7359 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1999, allocations: 48.7 kB / 0.7359 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.2011, allocations: 417.4 kB / 0.7363 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.2012, allocations: 28.88 kB / 0.7363 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/0.2013, allocations: 36.38 kB / 0.7364 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006749/0.2019, allocations: 324.1 kB / 0.7367 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.202, allocations: 0 / 0.7367 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.202, allocations: 8 kB / 0.7367 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.202, allocations: 7.984 kB / 0.7367 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006966/0.2027, allocations: 253.8 kB / 0.7369 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.2044, allocations: 0.8835 MB / 0.7378 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.205, allocations: 354.5 kB / 0.7381 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.2056, allocations: 257.4 kB / 0.7384 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.2056, allocations: 0 / 0.7384 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/0.2062, allocations: 319.1 kB / 0.7387 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 1.743e-06/0.2062, allocations: 0 / 0.7387 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.001684/0.2079, allocations: 0.8412 MB / 0.7395 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.208, allocations: 195.9 kB / 0.7397 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.2083, allocations: 288.5 kB / 0.74 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.2084, allocations: 41.7 kB / 0.74 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.2086, allocations: 168.9 kB / 0.7402 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.2087, allocations: 138.9 kB / 0.7403 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.209, allocations: 134.1 kB / 0.7404 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2091, allocations: 350.7 kB / 0.7408 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.2098, allocations: 272.8 kB / 0.741 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/0.2106, allocations: 365.4 kB / 0.7414 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.2119, allocations: 0.9051 MB / 0.7423 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.2119, allocations: 4 kB / 0.7423 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00185/0.2138, allocations: 1.002 MB / 0.7432 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.214, allocations: 263.3 kB / 0.7435 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.214, allocations: 4 kB / 0.7435 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.214, allocations: 4 kB / 0.7435 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.2143, allocations: 63.89 kB / 0.7436 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2143, allocations: 11.88 kB / 0.7436 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000852/0.2152, allocations: 147.6 kB / 0.7437 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.2153, allocations: 67.92 kB / 0.7438 GB, free: 1.691 MB / 0.5606 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.0004186/0.2157, allocations: 331 kB / 0.7441 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.2158, allocations: 35.77 kB / 0.7441 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.739e-05/0.2159, allocations: 39.48 kB / 0.7442 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.2159, allocations: 4 kB / 0.7442 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.2159, allocations: 0 / 0.7442 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2159, allocations: 0 / 0.7442 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.2178, allocations: 1.167 MB / 0.7453 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2178, allocations: 0 / 0.7453 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.2181, allocations: 63.89 kB / 0.7454 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2181, allocations: 4 kB / 0.7454 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.2181, allocations: 8 kB / 0.7454 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.2182, allocations: 11.92 kB / 0.7454 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2182, allocations: 0 / 0.7454 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.2194, allocations: 0.7667 MB / 0.7461 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.2194, allocations: 43.62 kB / 0.7462 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.2195, allocations: 11.94 kB / 0.7462 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.2197, allocations: 31.91 kB / 0.7462 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.2198, allocations: 35.94 kB / 0.7463 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.219e-05/0.2199, allocations: 51.88 kB / 0.7463 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002168/0.2201, allocations: 199.1 kB / 0.7465 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2201, allocations: 0 / 0.7465 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005471/0.2207, allocations: 111.9 kB / 0.7466 GB, free: 14.63 MB / 0.5762 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.001669/0.2223, allocations: 1.32 MB / 0.7479 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.2241, allocations: 1.042 MB / 0.7489 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2241, allocations: 0 / 0.7489 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006785/0.2248, allocations: 496.8 kB / 0.7494 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.2254, allocations: 107.1 kB / 0.7495 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/0.2332, allocations: 4.641 MB / 0.754 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.2337, allocations: 0.7962 MB / 0.7548 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.234, allocations: 99.17 kB / 0.7549 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.2341, allocations: 115.4 kB / 0.755 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/0.2341, allocations: 0 / 0.755 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3918/0.626, allocations: 10.21 MB / 0.765 GB, free: 35.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.29, allocations: 9.203 kB / 0.765 GB, free: 35.54 MB / 0.5762 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 16.300016048015095] Failed to read output from testmodel.py, exit status != 0: 12.46330574300373 12.486399143 12.283306006 Calling exit ...