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.001341/0.001341, 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.001496/0.001496, 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001/1.001, allocations: 150 MB / 464 MB, free: 10.26 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.002037/0.002037, allocations: 62.56 kB / 0.642 GB, free: 9.965 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2053, allocations: 89.18 MB / 0.729 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002818/0.2081, allocations: 0.9347 MB / 0.73 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.2106, allocations: 1.358 MB / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.861e-05/0.2107, allocations: 3.938 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.2108, allocations: 19.8 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.211, allocations: 47.59 kB / 0.7313 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.2118, allocations: 276.5 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000479/0.2123, allocations: 375.3 kB / 0.732 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2125, allocations: 53.72 kB / 0.732 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.2127, allocations: 159.6 kB / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.2129, allocations: 135.5 kB / 0.7323 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.213, allocations: 36 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.2131, allocations: 51.98 kB / 0.7324 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2133, allocations: 51.84 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.2134, allocations: 123.4 kB / 0.7326 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.2139, allocations: 402.5 kB / 0.7329 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2139, allocations: 0 / 0.7329 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.595e-06/0.214, allocations: 0 / 0.7329 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.214, allocations: 0 / 0.7329 GB, free: 12.87 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.001214/0.2152, allocations: 0.555 MB / 0.7335 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.2152, allocations: 12.03 kB / 0.7335 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.854e-05/0.2153, allocations: 8.188 kB / 0.7335 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.2153, allocations: 46.73 kB / 0.7335 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/0.2157, allocations: 64.75 kB / 0.7336 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.2167, allocations: 305.1 kB / 0.7339 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2167, allocations: 12.38 kB / 0.7339 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.2168, allocations: 28.25 kB / 0.7339 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.2172, allocations: 209.9 kB / 0.7341 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2173, allocations: 4 kB / 0.7341 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.2173, allocations: 8 kB / 0.7341 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2173, allocations: 4 kB / 0.7341 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.2178, allocations: 135.8 kB / 0.7343 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.219, allocations: 0.8321 MB / 0.7351 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.2193, allocations: 149 kB / 0.7352 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.2196, allocations: 80.3 kB / 0.7353 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2196, allocations: 4 kB / 0.7353 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.2201, allocations: 166.3 kB / 0.7355 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 3.597e-06/0.2201, allocations: 3.984 kB / 0.7355 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0009032/0.221, allocations: 261.2 kB / 0.7357 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.2211, allocations: 158.2 kB / 0.7359 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.2214, allocations: 221.3 kB / 0.7361 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.2214, allocations: 37.7 kB / 0.7361 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.2216, allocations: 148.4 kB / 0.7363 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.2216, allocations: 39.72 kB / 0.7363 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2217, allocations: 49.69 kB / 0.7363 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2219, allocations: 334.8 kB / 0.7367 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.2223, allocations: 167.3 kB / 0.7368 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.2227, allocations: 288.1 kB / 0.7371 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.2234, allocations: 271 kB / 0.7374 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2234, allocations: 0 / 0.7374 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009757/0.2243, allocations: 448.1 kB / 0.7378 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.2244, allocations: 63.39 kB / 0.7378 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2244, allocations: 7.938 kB / 0.7379 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2244, allocations: 0 / 0.7379 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.2246, allocations: 27.97 kB / 0.7379 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2246, allocations: 0 / 0.7379 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.225, allocations: 83.83 kB / 0.738 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.2251, allocations: 12 kB / 0.738 GB, free: 7.23 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.0001683/0.2252, allocations: 160.5 kB / 0.7381 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.2253, allocations: 15.91 kB / 0.7381 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.2253, allocations: 25.33 kB / 0.7382 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2253, allocations: 0 / 0.7382 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2253, allocations: 8 kB / 0.7382 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2254, allocations: 0 / 0.7382 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2256, allocations: 228.5 kB / 0.7384 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2256, allocations: 0 / 0.7384 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.2258, allocations: 19.98 kB / 0.7384 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.2258, allocations: 11.92 kB / 0.7384 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2258, allocations: 4 kB / 0.7384 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2258, allocations: 7.938 kB / 0.7384 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2258, allocations: 0 / 0.7384 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.2264, allocations: 244.2 kB / 0.7387 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.2264, allocations: 19.8 kB / 0.7387 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.2265, allocations: 8 kB / 0.7387 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2266, allocations: 19.91 kB / 0.7387 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.2267, allocations: 19.92 kB / 0.7387 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2267, allocations: 7.984 kB / 0.7387 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001606/0.2268, allocations: 164.5 kB / 0.7389 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2268, allocations: 0 / 0.7389 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000313/0.2271, allocations: 55.88 kB / 0.7389 GB, free: 6.145 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.001001/0.2281, allocations: 0.7718 MB / 0.7397 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008123/0.229, allocations: 377.9 kB / 0.7401 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.229, allocations: 0 / 0.7401 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.2292, allocations: 80.95 kB / 0.7401 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2296, allocations: 45.33 kB / 0.7402 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.2339, allocations: 2.832 MB / 0.7429 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.234, allocations: 136.8 kB / 0.7431 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.2341, allocations: 37.56 kB / 0.7431 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.2343, allocations: 67.41 kB / 0.7432 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2343, allocations: 0 / 0.7432 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.2634, allocations: 5.696 MB / 0.7487 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.59, allocations: 4.875 kB / 0.7487 GB, free: 12.05 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.901009793044068] Failed to read output from testmodel.py, exit status != 0: 11.754865130060352 12.060297757 11.842424556 Calling exit ...