Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001267/0.001267, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001484/0.001484, allocations: 223.9 kB / 23.01 MB, free: 5.074 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.934/0.934, allocations: 150 MB / 463.2 MB, free: 10.52 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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.00221/0.00221, allocations: 62.19 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1864, allocations: 89.18 MB / 0.7284 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003095/0.1895, allocations: 1.611 MB / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1912, allocations: 1.001 MB / 0.7309 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.1913, allocations: 3.938 kB / 0.7309 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.1913, allocations: 7.922 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1915, allocations: 23.8 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.192, allocations: 167.5 kB / 0.7311 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1922, allocations: 79.66 kB / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1923, allocations: 8.281 kB / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.1924, allocations: 35.91 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1925, allocations: 39.78 kB / 0.7313 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1925, allocations: 4 kB / 0.7313 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.193, allocations: 291.6 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.193, allocations: 15.98 kB / 0.7316 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.193, allocations: 27.81 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1933, allocations: 175.2 kB / 0.7317 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1933, allocations: 0 / 0.7317 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1933, allocations: 3.938 kB / 0.7317 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.1933, allocations: 0 / 0.7317 GB, free: 13.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006009/0.1939, allocations: 341.7 kB / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.194, allocations: 8.031 kB / 0.7321 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.194, allocations: 34.75 kB / 0.7321 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.1943, allocations: 32.86 kB / 0.7321 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1946, allocations: 130.4 kB / 0.7323 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1946, allocations: 8.125 kB / 0.7323 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1946, allocations: 8 kB / 0.7323 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1948, allocations: 61.66 kB / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1948, allocations: 7.938 kB / 0.7324 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1948, allocations: 0 / 0.7324 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1948, allocations: 0 / 0.7324 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1949, allocations: 43.95 kB / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.1954, allocations: 271.8 kB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1955, allocations: 50.56 kB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.1956, allocations: 32.91 kB / 0.7327 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1956, allocations: 3.938 kB / 0.7327 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1957, allocations: 38.55 kB / 0.7328 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.1957, allocations: 0 / 0.7328 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003606/0.196, allocations: 109.6 kB / 0.7329 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1961, allocations: 55.41 kB / 0.7329 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1962, allocations: 132.2 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1962, allocations: 25.7 kB / 0.7331 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.1963, allocations: 100.1 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.1963, allocations: 15.91 kB / 0.7332 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1964, allocations: 21.7 kB / 0.7332 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1965, allocations: 318.8 kB / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.1966, allocations: 31.97 kB / 0.7335 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.1966, allocations: 23.92 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1968, allocations: 52.83 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1968, allocations: 0 / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002213/0.197, allocations: 89.62 kB / 0.7337 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.197, allocations: 4 kB / 0.7337 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.197, allocations: 4 kB / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.197, allocations: 0 / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1972, allocations: 15.98 kB / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1972, allocations: 3.938 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.1972, allocations: 20.25 kB / 0.7338 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1972, allocations: 0 / 0.7338 GB, free: 11.55 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 9.056e-05/0.1973, allocations: 113.8 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.1974, allocations: 7.953 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1976, allocations: 114 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1976, allocations: 0 / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1976, allocations: 0 / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1976, allocations: 3.938 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1978, allocations: 156.8 kB / 0.7341 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1978, allocations: 0 / 0.7341 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.1979, allocations: 19.92 kB / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1979, allocations: 0 / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1979, allocations: 4 kB / 0.7342 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1979, allocations: 0 / 0.7342 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1979, allocations: 7.922 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.1982, allocations: 187.4 kB / 0.7343 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.1982, allocations: 3.953 kB / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1982, allocations: 3.984 kB / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.1983, allocations: 4 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1984, allocations: 15.98 kB / 0.7344 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1984, allocations: 3.938 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.699e-05/0.1984, allocations: 105.5 kB / 0.7345 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1984, allocations: 0 / 0.7345 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002415/0.1987, allocations: 23.94 kB / 0.7345 GB, free: 10.72 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006086/0.1993, allocations: 0.7319 MB / 0.7352 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1995, allocations: 52.16 kB / 0.7353 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1995, allocations: 0 / 0.7353 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.1996, allocations: 32.03 kB / 0.7353 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1998, allocations: 18.91 kB / 0.7353 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.2015, allocations: 1.486 MB / 0.7368 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.2019, allocations: 0.6885 MB / 0.7374 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.573e-05/0.2019, allocations: 8 kB / 0.7374 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.202, allocations: 23.42 kB / 0.7375 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.202, allocations: 0 / 0.7375 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.2309, allocations: 2.493 MB / 0.7399 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.83, allocations: 2.5 kB / 0.7399 GB, free: 5.211 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.442085272166878] Failed to read output from testmodel.py, exit status != 0: 10.936094636796042 10.960826727 10.762993453 Calling exit ...