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.001318/0.001318, allocations: 118.8 kB / 17.84 MB, free: 5.254 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.00135/0.00135, allocations: 201.6 kB / 20.79 MB, free: 2.316 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.552/1.552, allocations: 230.6 MB / 254.2 MB, free: 15.06 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.048/1.048, allocations: 150 MB / 460.2 MB, free: 5.305 MB / 350.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.001998/0.001998, allocations: 68 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1776, allocations: 89.13 MB / 0.7238 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003077/0.1807, allocations: 1.32 MB / 0.7251 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00256/0.1832, allocations: 1.591 MB / 0.7267 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1834, allocations: 4 kB / 0.7267 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1835, allocations: 35.55 kB / 0.7267 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1837, allocations: 75.41 kB / 0.7268 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1849, allocations: 0.4985 MB / 0.7273 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.1856, allocations: 0.6481 MB / 0.7279 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.1859, allocations: 140.7 kB / 0.7281 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.1862, allocations: 255.4 kB / 0.7283 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.1865, allocations: 250.9 kB / 0.7285 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1866, allocations: 64 kB / 0.7286 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1868, allocations: 79.94 kB / 0.7287 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1869, allocations: 83.69 kB / 0.7288 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.1872, allocations: 243 kB / 0.729 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008118/0.188, allocations: 0.685 MB / 0.7297 GB, free: 14.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.188, allocations: 0 / 0.7297 GB, free: 14.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.188, allocations: 8 kB / 0.7297 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.188, allocations: 0 / 0.7297 GB, free: 14.09 MB / 0.545 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.001359/0.1893, allocations: 0.9503 MB / 0.7306 GB, free: 13.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1894, allocations: 12.03 kB / 0.7306 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.879e-05/0.1894, allocations: 4.75 kB / 0.7306 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.1895, allocations: 58.72 kB / 0.7307 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1896, allocations: 64.64 kB / 0.7307 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.1909, allocations: 468 kB / 0.7312 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.191, allocations: 32.94 kB / 0.7312 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/0.1911, allocations: 36.38 kB / 0.7312 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.1917, allocations: 328.9 kB / 0.7315 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1917, allocations: 0 / 0.7315 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.1918, allocations: 15.98 kB / 0.7316 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1918, allocations: 4 kB / 0.7316 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.1925, allocations: 254 kB / 0.7318 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.1942, allocations: 0.9122 MB / 0.7327 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.1948, allocations: 353.8 kB / 0.733 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.1954, allocations: 250.3 kB / 0.7333 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1954, allocations: 4 kB / 0.7333 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005973/0.196, allocations: 327 kB / 0.7336 GB, free: 9.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 1.974e-06/0.196, allocations: 0 / 0.7336 GB, free: 9.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.001668/0.1977, allocations: 0.8451 MB / 0.7344 GB, free: 8.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.1978, allocations: 191.9 kB / 0.7346 GB, free: 8.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1981, allocations: 292.5 kB / 0.7349 GB, free: 8.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.1982, allocations: 41.7 kB / 0.7349 GB, free: 8.383 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1983, allocations: 161 kB / 0.7351 GB, free: 8.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.1985, allocations: 138.8 kB / 0.7352 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.1987, allocations: 134.1 kB / 0.7353 GB, free: 7.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.1989, allocations: 350.7 kB / 0.7357 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.1995, allocations: 276.8 kB / 0.7359 GB, free: 7.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.2002, allocations: 361.8 kB / 0.7363 GB, free: 6.934 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.2015, allocations: 0.9129 MB / 0.7372 GB, free: 5.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2015, allocations: 0 / 0.7372 GB, free: 5.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001771/0.2033, allocations: 1.006 MB / 0.7382 GB, free: 4.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.2035, allocations: 261.2 kB / 0.7384 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2035, allocations: 0 / 0.7384 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.2035, allocations: 11.94 kB / 0.7384 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.2038, allocations: 71.83 kB / 0.7385 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2038, allocations: 4 kB / 0.7385 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007549/0.2046, allocations: 139.7 kB / 0.7386 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.2047, allocations: 67.92 kB / 0.7387 GB, free: 4.242 MB / 0.545 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.000303/0.205, allocations: 322.1 kB / 0.739 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.205, allocations: 39.77 kB / 0.739 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-05/0.2051, allocations: 43.48 kB / 0.7391 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2052, allocations: 4 kB / 0.7391 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2052, allocations: 0 / 0.7391 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2052, allocations: 3.984 kB / 0.7391 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.207, allocations: 1.187 MB / 0.7402 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.207, allocations: 7.938 kB / 0.7402 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.2073, allocations: 63.89 kB / 0.7403 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2073, allocations: 4 kB / 0.7403 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.2073, allocations: 12 kB / 0.7403 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2073, allocations: 3.938 kB / 0.7403 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2073, allocations: 4 kB / 0.7403 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.2085, allocations: 0.7719 MB / 0.7411 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.2086, allocations: 112.8 kB / 0.7412 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.2086, allocations: 15.97 kB / 0.7412 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.2089, allocations: 27.91 kB / 0.7412 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.209, allocations: 35.95 kB / 0.7413 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/0.209, allocations: 47.94 kB / 0.7413 GB, free: 1.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002043/0.2092, allocations: 203.1 kB / 0.7415 GB, free: 1.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2092, allocations: 0 / 0.7415 GB, free: 1.156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004369/0.2097, allocations: 107.9 kB / 0.7416 GB, free: 1.051 MB / 0.545 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.001639/0.2113, allocations: 1.326 MB / 0.7429 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.2129, allocations: 1.047 MB / 0.7439 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2129, allocations: 0 / 0.7439 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006295/0.2135, allocations: 496.8 kB / 0.7444 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.2141, allocations: 96.92 kB / 0.7445 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/0.2212, allocations: 4.657 MB / 0.749 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.2217, allocations: 0.7963 MB / 0.7498 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.2219, allocations: 91.2 kB / 0.7499 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.2221, allocations: 115.4 kB / 0.75 GB, free: 8 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2221, allocations: 0 / 0.75 GB, free: 8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.2531, allocations: 9.889 MB / 0.7597 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.751/9.004, allocations: 14.05 kB / 0.7597 GB, free: 14.3 MB / 0.5762 GB " [Timeout remaining time 651] (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: 13.112251447048038] Failed to read output from testmodel.py, exit status != 0: 9.137397930026054 9.153377734 8.962308502 Calling exit ...