Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001288/0.001288, allocations: 119 kB / 19.69 MB, free: 2.199 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.001437/0.001437, allocations: 221.7 kB / 23.01 MB, free: 5.043 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9287/0.9287, allocations: 150 MB / 463.2 MB, free: 10.46 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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001984/0.001984, allocations: 66.52 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1755, allocations: 89.18 MB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00357/0.1791, allocations: 2.21 MB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005566/0.1846, allocations: 4.262 MB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1848, allocations: 7.938 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008635/0.1857, allocations: 195.4 kB / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.1858, allocations: 83.28 kB / 0.7349 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008603/0.1867, allocations: 331.2 kB / 0.7353 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007388/0.1874, allocations: 458.6 kB / 0.7357 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1876, allocations: 40.89 kB / 0.7357 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.1878, allocations: 139.5 kB / 0.7359 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.188, allocations: 163.3 kB / 0.736 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.1881, allocations: 24 kB / 0.7361 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.1887, allocations: 363.5 kB / 0.7364 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1888, allocations: 107.6 kB / 0.7365 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.189, allocations: 174.9 kB / 0.7367 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007906/0.1898, allocations: 0.5915 MB / 0.7372 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1898, allocations: 0 / 0.7372 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1898, allocations: 3.938 kB / 0.7372 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.1898, allocations: 0 / 0.7372 GB, free: 8.07 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001506/0.1913, allocations: 0.747 MB / 0.738 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1914, allocations: 8.031 kB / 0.738 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.1914, allocations: 42.69 kB / 0.738 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.1934, allocations: 308.3 kB / 0.7383 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.1944, allocations: 360.2 kB / 0.7387 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1945, allocations: 12 kB / 0.7387 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.1945, allocations: 12 kB / 0.7387 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.1952, allocations: 265.9 kB / 0.7389 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1952, allocations: 0 / 0.7389 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.1952, allocations: 4 kB / 0.7389 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.1953, allocations: 7.938 kB / 0.739 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.1963, allocations: 343.7 kB / 0.7393 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.1979, allocations: 0.6748 MB / 0.7399 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.1985, allocations: 218.4 kB / 0.7401 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.199, allocations: 180.7 kB / 0.7403 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.025e-05/0.1991, allocations: 24 kB / 0.7403 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1991, allocations: 34.55 kB / 0.7404 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.1991, allocations: 0 / 0.7404 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.001785/0.2009, allocations: 0.6017 MB / 0.741 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.201, allocations: 51.41 kB / 0.741 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.2015, allocations: 449.9 kB / 0.7414 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.2015, allocations: 33.7 kB / 0.7415 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.2017, allocations: 192.5 kB / 0.7417 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.2017, allocations: 47.59 kB / 0.7417 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.2018, allocations: 53.67 kB / 0.7418 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.202, allocations: 354.8 kB / 0.7421 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006564/0.2027, allocations: 300 kB / 0.7424 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.2033, allocations: 304.3 kB / 0.7427 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.2045, allocations: 0.5228 MB / 0.7432 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2045, allocations: 0 / 0.7432 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0015/0.206, allocations: 0.7384 MB / 0.7439 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/0.206, allocations: 41.69 kB / 0.7439 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.206, allocations: 0 / 0.7439 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.2061, allocations: 7.875 kB / 0.7439 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.2065, allocations: 71.91 kB / 0.744 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2066, allocations: 0 / 0.744 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.2069, allocations: 59.73 kB / 0.7441 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.207, allocations: 11.98 kB / 0.7441 GB, free: 0.8477 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002152/0.2072, allocations: 163.7 kB / 0.7442 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.2073, allocations: 39.72 kB / 0.7443 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.2086, allocations: 476.8 kB / 0.7447 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.2086, allocations: 7.938 kB / 0.7447 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2086, allocations: 0 / 0.7447 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2086, allocations: 3.938 kB / 0.7447 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.2091, allocations: 352.3 kB / 0.7451 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.2091, allocations: 0 / 0.7451 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.2095, allocations: 67.92 kB / 0.7451 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2095, allocations: 0 / 0.7451 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.2095, allocations: 7.984 kB / 0.7452 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2095, allocations: 3.938 kB / 0.7452 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2095, allocations: 0 / 0.7452 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.2107, allocations: 0.5107 MB / 0.7457 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.2109, allocations: 67.56 kB / 0.7457 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.211, allocations: 7.984 kB / 0.7457 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.2113, allocations: 35.89 kB / 0.7458 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.2114, allocations: 23.97 kB / 0.7458 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2114, allocations: 7.984 kB / 0.7458 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003434/0.2118, allocations: 315.1 kB / 0.7461 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2118, allocations: 0 / 0.7461 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00051/0.2123, allocations: 127.8 kB / 0.7462 GB, free: 14.59 MB / 0.5762 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 (13): * Single equations (assignments): 13 * 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.001823/0.2141, allocations: 1.13 MB / 0.7473 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.2156, allocations: 0.6404 MB / 0.7479 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2156, allocations: 0 / 0.7479 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000547/0.2161, allocations: 191.8 kB / 0.7481 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.2166, allocations: 67.53 kB / 0.7482 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00804/0.2247, allocations: 5.33 MB / 0.7534 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.2251, allocations: 0.7987 MB / 0.7542 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.2254, allocations: 73.91 kB / 0.7542 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.2257, allocations: 119.4 kB / 0.7544 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.2257, allocations: 0 / 0.7544 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3576/0.5833, allocations: 9.575 MB / 0.7637 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.04, allocations: 2.031 kB / 0.7637 GB, free: 35.25 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.808181692998915] Failed to read output from testmodel.py, exit status != 0: 12.142477125998994 12.161880234 11.967692385 Calling exit ...