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.001455/0.001455, 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.001575/0.001575, allocations: 213.4 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.505/1.505, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.9499/0.9499, allocations: 150 MB / 464 MB, free: 10.48 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.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.002139/0.002139, allocations: 65.23 kB / 0.642 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1926, allocations: 89.18 MB / 0.7291 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002588/0.1951, allocations: 0.9891 MB / 0.7301 GB, free: 312 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.1973, allocations: 1.381 MB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1974, allocations: 4 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.1975, allocations: 15.75 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1977, allocations: 51.64 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.1985, allocations: 276.7 kB / 0.7318 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.199, allocations: 375.3 kB / 0.7321 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1992, allocations: 49.7 kB / 0.7322 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.1995, allocations: 159.6 kB / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.1998, allocations: 131.5 kB / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-05/0.1999, allocations: 36 kB / 0.7325 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.2, allocations: 63.92 kB / 0.7325 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2001, allocations: 59.81 kB / 0.7326 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.2003, allocations: 135.4 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.2009, allocations: 402.5 kB / 0.7331 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.201, allocations: 0 / 0.7331 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.201, allocations: 0 / 0.7331 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.201, allocations: 0 / 0.7331 GB, free: 13.19 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001456/0.2024, allocations: 0.5538 MB / 0.7337 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.2025, allocations: 12.03 kB / 0.7337 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.752e-05/0.2025, allocations: 12.19 kB / 0.7337 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.2026, allocations: 42.73 kB / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004823/0.2031, allocations: 68.75 kB / 0.7338 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2042, allocations: 301.1 kB / 0.7341 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.2042, allocations: 16.38 kB / 0.7341 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.2043, allocations: 24.31 kB / 0.7341 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.2048, allocations: 217.9 kB / 0.7343 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2049, allocations: 0 / 0.7343 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2049, allocations: 8 kB / 0.7343 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.2049, allocations: 4 kB / 0.7343 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005261/0.2054, allocations: 139.8 kB / 0.7345 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.2067, allocations: 0.8749 MB / 0.7353 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.2071, allocations: 145 kB / 0.7355 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.2074, allocations: 80.3 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2074, allocations: 7.938 kB / 0.7355 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005614/0.2079, allocations: 169.2 kB / 0.7357 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 2.093e-06/0.2079, allocations: 0 / 0.7357 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001012/0.209, allocations: 265.9 kB / 0.736 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.2091, allocations: 162.2 kB / 0.7361 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.2094, allocations: 217 kB / 0.7363 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.2094, allocations: 37.7 kB / 0.7363 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.2096, allocations: 144.3 kB / 0.7365 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.2097, allocations: 39.72 kB / 0.7365 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.2098, allocations: 53.69 kB / 0.7366 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.21, allocations: 338.8 kB / 0.7369 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.2103, allocations: 95.92 kB / 0.737 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.2107, allocations: 177.3 kB / 0.7372 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.2114, allocations: 270.9 kB / 0.7374 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2114, allocations: 0 / 0.7374 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009202/0.2123, allocations: 376.6 kB / 0.7378 GB, free: 8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.2123, allocations: 65.11 kB / 0.7378 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2123, allocations: 7.938 kB / 0.7378 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2124, allocations: 4.219 kB / 0.7378 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2125, allocations: 27.97 kB / 0.7379 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.2125, allocations: 7.938 kB / 0.7379 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.213, allocations: 71.81 kB / 0.738 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.213, allocations: 15.98 kB / 0.738 GB, free: 7.793 MB / 0.5606 GB 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.0001824/0.2132, allocations: 153.8 kB / 0.7381 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.2133, allocations: 19.91 kB / 0.7381 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.2133, allocations: 21.33 kB / 0.7382 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2133, allocations: 4 kB / 0.7382 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2133, allocations: 0 / 0.7382 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2133, allocations: 4 kB / 0.7382 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.2136, allocations: 240.5 kB / 0.7384 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2136, allocations: 0 / 0.7384 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.2138, allocations: 31.91 kB / 0.7384 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2138, allocations: 4 kB / 0.7384 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2138, allocations: 0 / 0.7384 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2138, allocations: 4 kB / 0.7384 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2138, allocations: 0 / 0.7384 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.2144, allocations: 244.2 kB / 0.7387 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2145, allocations: 23.8 kB / 0.7387 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.2145, allocations: 3.984 kB / 0.7387 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.2146, allocations: 23.98 kB / 0.7387 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.2147, allocations: 19.91 kB / 0.7387 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.2147, allocations: 4 kB / 0.7387 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002457/0.215, allocations: 164.5 kB / 0.7389 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.215, allocations: 0 / 0.7389 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004692/0.2154, allocations: 47.89 kB / 0.7389 GB, free: 6.711 MB / 0.5606 GB 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.001028/0.2165, allocations: 0.7857 MB / 0.7397 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008323/0.2173, allocations: 310.7 kB / 0.74 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2173, allocations: 0 / 0.74 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.2176, allocations: 71.88 kB / 0.7401 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.218, allocations: 56.69 kB / 0.7401 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.2222, allocations: 2.563 MB / 0.7426 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.2227, allocations: 0.7481 MB / 0.7434 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.2228, allocations: 33.61 kB / 0.7434 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.223, allocations: 71.41 kB / 0.7435 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of SimCode: time 1.342e-06/0.223, allocations: 0 / 0.7435 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.2529, allocations: 5.418 MB / 0.7487 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.57, allocations: 16.72 kB / 0.7488 GB, free: 12.61 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.883407244982664] Failed to read output from testmodel.py, exit status != 0: 11.729400955024175 12.098712726 11.542312886 Calling exit ...