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.001294/0.001294, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001534/0.001534, allocations: 213.3 kB / 22.99 MB, free: 4.977 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.411/1.411, allocations: 230.6 MB / 256.8 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 0.9346/0.9346, allocations: 149.9 MB / 463 MB, free: 10.41 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.002031/0.002031, allocations: 60.34 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1841, allocations: 89.18 MB / 0.7282 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003573/0.1877, allocations: 2.076 MB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005466/0.1931, allocations: 3.923 MB / 0.734 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1933, allocations: 7.938 kB / 0.734 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.1941, allocations: 187.3 kB / 0.7342 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1943, allocations: 79.34 kB / 0.7343 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.195, allocations: 339.2 kB / 0.7346 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007078/0.1957, allocations: 446.6 kB / 0.735 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1959, allocations: 36.91 kB / 0.7351 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.196, allocations: 139.5 kB / 0.7352 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1963, allocations: 159.3 kB / 0.7354 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.1963, allocations: 20 kB / 0.7354 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.1969, allocations: 327.5 kB / 0.7357 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.197, allocations: 119.6 kB / 0.7358 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1972, allocations: 135.2 kB / 0.7359 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007055/0.1979, allocations: 0.5915 MB / 0.7365 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1979, allocations: 0 / 0.7365 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1979, allocations: 0 / 0.7365 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1979, allocations: 0 / 0.7365 GB, free: 8.473 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.001472/0.1994, allocations: 0.7469 MB / 0.7372 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1994, allocations: 12.03 kB / 0.7372 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.1995, allocations: 34.75 kB / 0.7373 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.2014, allocations: 316.3 kB / 0.7376 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.2024, allocations: 356.2 kB / 0.7379 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2024, allocations: 15.92 kB / 0.7379 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.2025, allocations: 16 kB / 0.738 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.2032, allocations: 265.3 kB / 0.7382 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2032, allocations: 0 / 0.7382 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.2032, allocations: 3.938 kB / 0.7382 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2032, allocations: 7.938 kB / 0.7382 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2043, allocations: 347.7 kB / 0.7386 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.2059, allocations: 0.6281 MB / 0.7392 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.2065, allocations: 218.4 kB / 0.7394 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/0.2071, allocations: 184.7 kB / 0.7395 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.2071, allocations: 12 kB / 0.7396 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.2071, allocations: 38.55 kB / 0.7396 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2071, allocations: 0 / 0.7396 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.001816/0.209, allocations: 0.5944 MB / 0.7402 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.209, allocations: 59.41 kB / 0.7402 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.2095, allocations: 445.9 kB / 0.7407 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.2095, allocations: 33.7 kB / 0.7407 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2097, allocations: 196.5 kB / 0.7409 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.2097, allocations: 43.59 kB / 0.7409 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2099, allocations: 57.67 kB / 0.741 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.21, allocations: 350.8 kB / 0.7413 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007025/0.2107, allocations: 349.7 kB / 0.7416 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/0.2114, allocations: 342 kB / 0.742 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.2127, allocations: 0.5385 MB / 0.7425 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2127, allocations: 0 / 0.7425 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001543/0.2142, allocations: 0.783 MB / 0.7433 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/0.2143, allocations: 47.72 kB / 0.7433 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2143, allocations: 0 / 0.7433 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2143, allocations: 3.938 kB / 0.7433 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.2148, allocations: 67.92 kB / 0.7434 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2148, allocations: 0 / 0.7434 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.2152, allocations: 59.72 kB / 0.7434 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.2152, allocations: 15.92 kB / 0.7434 GB, free: 1.129 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.0001884/0.2154, allocations: 157.8 kB / 0.7436 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.2155, allocations: 39.72 kB / 0.7436 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.2168, allocations: 468.8 kB / 0.7441 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2168, allocations: 7.938 kB / 0.7441 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2168, allocations: 0 / 0.7441 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2168, allocations: 0 / 0.7441 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.2172, allocations: 320.4 kB / 0.7444 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2172, allocations: 0 / 0.7444 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.2176, allocations: 67.86 kB / 0.7445 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2176, allocations: 3.938 kB / 0.7445 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.2177, allocations: 11.98 kB / 0.7445 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2177, allocations: 3.938 kB / 0.7445 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2177, allocations: 0 / 0.7445 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.2189, allocations: 0.5107 MB / 0.745 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.2191, allocations: 63.67 kB / 0.745 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.2192, allocations: 3.984 kB / 0.745 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.2196, allocations: 43.89 kB / 0.7451 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.2196, allocations: 19.97 kB / 0.7451 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.2197, allocations: 11.92 kB / 0.7451 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003474/0.22, allocations: 311.1 kB / 0.7454 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.22, allocations: 0 / 0.7454 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004821/0.2205, allocations: 131.8 kB / 0.7455 GB, free: 14.91 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.001873/0.2224, allocations: 1.113 MB / 0.7466 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.2238, allocations: 0.6451 MB / 0.7473 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2238, allocations: 0 / 0.7473 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.2244, allocations: 195.7 kB / 0.7474 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.2249, allocations: 77.27 kB / 0.7475 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/0.2332, allocations: 5.494 MB / 0.7529 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.2334, allocations: 191.5 kB / 0.7531 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.2337, allocations: 69.91 kB / 0.7531 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.2339, allocations: 123.4 kB / 0.7532 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.2339, allocations: 0 / 0.7532 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3669/0.6008, allocations: 10.31 MB / 0.7633 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.74, allocations: 0.7031 kB / 0.7633 GB, free: 34.95 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.528552524745464] Failed to read output from testmodel.py, exit status != 0: 11.847776612266898 11.861854774 11.660991317 Calling exit ...