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.00192/0.00192, allocations: 115 kB / 19.7 MB, free: 2.039 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.002108/0.002108, allocations: 224.6 kB / 23 MB, free: 4.945 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.9778/0.9778, allocations: 150 MB / 463.2 MB, free: 10.45 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="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: 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.00207/0.00207, allocations: 65.86 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.21, allocations: 89.17 MB / 0.7283 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002776/0.2128, allocations: 0.9955 MB / 0.7293 GB, free: 216 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.2152, allocations: 1.381 MB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.2153, allocations: 4 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2155, allocations: 19.73 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.2156, allocations: 47.64 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.2165, allocations: 273.2 kB / 0.731 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.2171, allocations: 383.3 kB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2172, allocations: 49.72 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.2175, allocations: 163.6 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.2177, allocations: 127.5 kB / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.2178, allocations: 36 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.218, allocations: 63.91 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.218, allocations: 51.84 kB / 0.7318 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2182, allocations: 147.3 kB / 0.732 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.2187, allocations: 402.5 kB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2187, allocations: 0 / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2187, allocations: 0 / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.2187, allocations: 4 kB / 0.7324 GB, free: 13.09 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.001092/0.2198, allocations: 0.5472 MB / 0.7329 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.2199, allocations: 12.03 kB / 0.7329 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.2199, allocations: 46.73 kB / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.2203, allocations: 64.77 kB / 0.733 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009661/0.2213, allocations: 309.1 kB / 0.7333 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.2213, allocations: 16.36 kB / 0.7333 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.2214, allocations: 20.38 kB / 0.7333 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.2218, allocations: 214.1 kB / 0.7335 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2218, allocations: 0 / 0.7335 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.2219, allocations: 11.98 kB / 0.7336 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2219, allocations: 4 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.2224, allocations: 139.8 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2237, allocations: 0.8788 MB / 0.7346 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.224, allocations: 145 kB / 0.7347 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.2242, allocations: 76.3 kB / 0.7348 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.2243, allocations: 11.94 kB / 0.7348 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.2247, allocations: 164.3 kB / 0.7349 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.2247, allocations: 0 / 0.7349 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0008837/0.2256, allocations: 257.5 kB / 0.7352 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.2257, allocations: 158.2 kB / 0.7353 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.226, allocations: 225 kB / 0.7355 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.226, allocations: 29.7 kB / 0.7356 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2261, allocations: 156.4 kB / 0.7357 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.2262, allocations: 31.73 kB / 0.7358 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2263, allocations: 53.78 kB / 0.7358 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2265, allocations: 334.8 kB / 0.7361 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.2268, allocations: 103.8 kB / 0.7362 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.2271, allocations: 169.4 kB / 0.7364 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.2277, allocations: 274.9 kB / 0.7366 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2277, allocations: 7.938 kB / 0.7367 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008812/0.2286, allocations: 376.6 kB / 0.737 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.2287, allocations: 69.34 kB / 0.7371 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2287, allocations: 0 / 0.7371 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.2287, allocations: 7.984 kB / 0.7371 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.2289, allocations: 19.98 kB / 0.7371 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.2289, allocations: 11.92 kB / 0.7371 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.2293, allocations: 79.75 kB / 0.7372 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.2293, allocations: 15.98 kB / 0.7372 GB, free: 7.699 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.0001681/0.2295, allocations: 149.8 kB / 0.7373 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2295, allocations: 19.91 kB / 0.7374 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.2296, allocations: 21.33 kB / 0.7374 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2296, allocations: 4 kB / 0.7374 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2296, allocations: 0 / 0.7374 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2296, allocations: 4 kB / 0.7374 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.2298, allocations: 236.5 kB / 0.7376 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2298, allocations: 0 / 0.7376 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.23, allocations: 32.38 kB / 0.7377 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.23, allocations: 4 kB / 0.7377 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.23, allocations: 4 kB / 0.7377 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.23, allocations: 0 / 0.7377 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.23, allocations: 0 / 0.7377 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.2306, allocations: 255.1 kB / 0.7379 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.2306, allocations: 27.8 kB / 0.7379 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.2306, allocations: 0 / 0.7379 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2308, allocations: 23.97 kB / 0.738 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.2308, allocations: 15.97 kB / 0.738 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2308, allocations: 7.938 kB / 0.738 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001528/0.231, allocations: 160.5 kB / 0.7381 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.231, allocations: 0 / 0.7381 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000303/0.2313, allocations: 51.89 kB / 0.7382 GB, free: 6.617 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.0009122/0.2322, allocations: 0.7718 MB / 0.7389 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007585/0.233, allocations: 318.5 kB / 0.7392 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.233, allocations: 0 / 0.7392 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.2332, allocations: 71.88 kB / 0.7393 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.2336, allocations: 52.84 kB / 0.7394 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.2377, allocations: 2.571 MB / 0.7419 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.2381, allocations: 0.7476 MB / 0.7426 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.2383, allocations: 33.62 kB / 0.7426 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.2384, allocations: 67.41 kB / 0.7427 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of SimCode: time 1.343e-06/0.2384, allocations: 0 / 0.7427 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/0.2842, allocations: 5.388 MB / 0.748 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.43, allocations: 5.938 kB / 0.748 GB, free: 12.54 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 sys.exit(0), Time elapsed: 15.661104653030634] Failed to read output from testmodel.py, exit status != 0: 11.535294892964885 11.883506205 11.341816318 Calling exit ...