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.001282/0.001282, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001461/0.001461, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.809 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 0.9918/0.9918, allocations: 150 MB / 464 MB, free: 10.22 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.002254/0.002254, allocations: 62.03 kB / 0.642 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1798, allocations: 89.18 MB / 0.729 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002782/0.1825, allocations: 1.232 MB / 0.7303 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.1849, allocations: 1.564 MB / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.185, allocations: 7.938 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.1852, allocations: 35.55 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.1854, allocations: 71.44 kB / 0.7319 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1867, allocations: 0.4949 MB / 0.7324 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000923/0.1877, allocations: 0.6482 MB / 0.733 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.188, allocations: 121.3 kB / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.1884, allocations: 263.3 kB / 0.7334 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.1889, allocations: 244 kB / 0.7336 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.189, allocations: 68 kB / 0.7337 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.1893, allocations: 75.94 kB / 0.7337 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1894, allocations: 75.77 kB / 0.7338 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.1898, allocations: 227.1 kB / 0.734 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009943/0.1908, allocations: 0.6812 MB / 0.7347 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1908, allocations: 4 kB / 0.7347 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1908, allocations: 0 / 0.7347 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.1908, allocations: 0 / 0.7347 GB, free: 11.05 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.001647/0.1924, allocations: 0.8788 MB / 0.7356 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1925, allocations: 12.03 kB / 0.7356 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.362e-05/0.1925, allocations: 4.688 kB / 0.7356 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.1926, allocations: 62.72 kB / 0.7356 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.1927, allocations: 48.7 kB / 0.7357 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.194, allocations: 413.4 kB / 0.7361 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.1941, allocations: 28.88 kB / 0.7361 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.602e-05/0.1942, allocations: 40.38 kB / 0.7361 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/0.195, allocations: 460.6 kB / 0.7366 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.195, allocations: 0 / 0.7366 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.195, allocations: 8 kB / 0.7366 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.195, allocations: 8 kB / 0.7366 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007117/0.1957, allocations: 394.3 kB / 0.737 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.1973, allocations: 0.7861 MB / 0.7377 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/0.1981, allocations: 495.4 kB / 0.7382 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/0.1986, allocations: 386 kB / 0.7386 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1986, allocations: 4 kB / 0.7386 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006679/0.1993, allocations: 451.6 kB / 0.739 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 2.485e-06/0.1993, allocations: 4 kB / 0.739 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.00175/0.2011, allocations: 1.108 MB / 0.7401 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.2012, allocations: 191.9 kB / 0.7403 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.2015, allocations: 296.5 kB / 0.7406 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.2016, allocations: 37.7 kB / 0.7406 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2017, allocations: 165 kB / 0.7408 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2018, allocations: 138.9 kB / 0.7409 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.2021, allocations: 134.1 kB / 0.741 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.2022, allocations: 350.7 kB / 0.7414 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.203, allocations: 0.5274 MB / 0.7419 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/0.2038, allocations: 0.6101 MB / 0.7425 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.2051, allocations: 0.9129 MB / 0.7434 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2051, allocations: 4 kB / 0.7434 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001909/0.207, allocations: 1.263 MB / 0.7446 GB, free: 12 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.2072, allocations: 263.3 kB / 0.7448 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2072, allocations: 3.938 kB / 0.7448 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.2072, allocations: 4 kB / 0.7449 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.2075, allocations: 67.89 kB / 0.7449 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.2076, allocations: 7.938 kB / 0.7449 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/0.2083, allocations: 139.6 kB / 0.7451 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.2084, allocations: 67.92 kB / 0.7451 GB, free: 15.41 MB / 0.5762 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.0003193/0.2087, allocations: 318.1 kB / 0.7454 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.2088, allocations: 43.77 kB / 0.7455 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.999e-05/0.2089, allocations: 47.47 kB / 0.7455 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2089, allocations: 4 kB / 0.7455 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2089, allocations: 0 / 0.7455 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2089, allocations: 3.984 kB / 0.7455 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.2107, allocations: 1.258 MB / 0.7467 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2108, allocations: 3.938 kB / 0.7468 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.211, allocations: 59.89 kB / 0.7468 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.211, allocations: 4 kB / 0.7468 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.211, allocations: 15.98 kB / 0.7468 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.211, allocations: 7.938 kB / 0.7468 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.211, allocations: 4 kB / 0.7468 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.2123, allocations: 0.8961 MB / 0.7477 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.2123, allocations: 39.64 kB / 0.7478 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.2124, allocations: 19.98 kB / 0.7478 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2126, allocations: 27.91 kB / 0.7478 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.2127, allocations: 43.94 kB / 0.7478 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.2128, allocations: 51.88 kB / 0.7479 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002035/0.213, allocations: 195.1 kB / 0.7481 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.213, allocations: 0 / 0.7481 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005093/0.2135, allocations: 108 kB / 0.7482 GB, free: 12.05 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.001633/0.2151, allocations: 1.451 MB / 0.7496 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.2169, allocations: 1.437 MB / 0.751 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2169, allocations: 0 / 0.751 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.2176, allocations: 0.6223 MB / 0.7516 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.2182, allocations: 100.8 kB / 0.7517 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007714/0.2259, allocations: 5.83 MB / 0.7574 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.2261, allocations: 193 kB / 0.7576 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.2264, allocations: 95.12 kB / 0.7577 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.2265, allocations: 115.4 kB / 0.7578 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.2265, allocations: 0 / 0.7578 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3744/0.6009, allocations: 10.72 MB / 0.7683 GB, free: 35.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.45, allocations: 9.625 kB / 0.7683 GB, free: 35.34 MB / 0.5762 GB " [Timeout remaining time 647] (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.4100508550182] Failed to read output from testmodel.py, exit status != 0: 12.617479615029879 12.632573375 12.43901205 Calling exit ...