Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 105.1 kB / 18.88 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 194.2 kB / 22.17 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8192/0.8192, allocations: 129.2 MB / 435.3 MB, free: 5.719 MB / 334.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 72.08 kB / 0.6028 GB, free: 21.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1527, allocations: 83.43 MB / 0.6843 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003724/0.1564, allocations: 2.081 MB / 0.6864 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005854/0.1622, allocations: 4.121 MB / 0.6904 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1624, allocations: 0 / 0.6904 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008627/0.1632, allocations: 199 kB / 0.6906 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.1634, allocations: 59.47 kB / 0.6906 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.164, allocations: 271.3 kB / 0.6909 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005825/0.1646, allocations: 370.9 kB / 0.6912 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1647, allocations: 36.38 kB / 0.6913 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.1648, allocations: 119.5 kB / 0.6914 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.165, allocations: 131.4 kB / 0.6915 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.1651, allocations: 16 kB / 0.6915 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.1655, allocations: 315.5 kB / 0.6918 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1657, allocations: 103.7 kB / 0.6919 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.1658, allocations: 143.1 kB / 0.6921 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.1664, allocations: 0.5097 MB / 0.6926 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1664, allocations: 0 / 0.6926 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1664, allocations: 0 / 0.6926 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.1664, allocations: 4 kB / 0.6926 GB, free: 9.312 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001347/0.1678, allocations: 0.76 MB / 0.6933 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1678, allocations: 16.62 kB / 0.6933 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.314e-05/0.1679, allocations: 38.75 kB / 0.6934 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.1679, allocations: 52.53 kB / 0.6934 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.1684, allocations: 330.6 kB / 0.6937 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1685, allocations: 7.938 kB / 0.6937 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1685, allocations: 11.98 kB / 0.6937 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.169, allocations: 193.5 kB / 0.6939 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.169, allocations: 0 / 0.6939 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.169, allocations: 7.938 kB / 0.6939 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.169, allocations: 4 kB / 0.6939 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006604/0.1697, allocations: 243.8 kB / 0.6942 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009979/0.1707, allocations: 0.5785 MB / 0.6947 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.1711, allocations: 174.4 kB / 0.6949 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.1714, allocations: 132.8 kB / 0.695 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.732e-05/0.1715, allocations: 19.97 kB / 0.6951 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1715, allocations: 34.56 kB / 0.6951 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1715, allocations: 4 kB / 0.6951 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001176/0.1727, allocations: 449.3 kB / 0.6955 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1727, allocations: 51.41 kB / 0.6956 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.1731, allocations: 409.6 kB / 0.696 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.1732, allocations: 33.7 kB / 0.696 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1733, allocations: 180 kB / 0.6962 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.1733, allocations: 35.69 kB / 0.6962 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.1734, allocations: 41.69 kB / 0.6962 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1736, allocations: 346.8 kB / 0.6966 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.174, allocations: 167.9 kB / 0.6967 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.1743, allocations: 169.4 kB / 0.6969 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/0.1751, allocations: 355.1 kB / 0.6972 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1751, allocations: 7.875 kB / 0.6972 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008984/0.176, allocations: 470 kB / 0.6977 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.176, allocations: 49.62 kB / 0.6977 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.176, allocations: 0 / 0.6977 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1761, allocations: 3.938 kB / 0.6977 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.1763, allocations: 43.94 kB / 0.6978 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1764, allocations: 8 kB / 0.6978 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1766, allocations: 39.8 kB / 0.6978 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.1766, allocations: 8 kB / 0.6978 GB, free: 3.668 MB / 0.5137 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 (12): * Single equations (assignments): 11 * 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.0001575/0.1768, allocations: 161.1 kB / 0.698 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.1768, allocations: 35.77 kB / 0.698 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/0.1777, allocations: 344.5 kB / 0.6983 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1777, allocations: 3.938 kB / 0.6983 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1777, allocations: 0 / 0.6983 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1777, allocations: 7.984 kB / 0.6984 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.1781, allocations: 345.4 kB / 0.6987 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1781, allocations: 0 / 0.6987 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.1783, allocations: 43.94 kB / 0.6987 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1783, allocations: 0 / 0.6987 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.1784, allocations: 11.94 kB / 0.6987 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1784, allocations: 0 / 0.6987 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1784, allocations: 0 / 0.6987 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007846/0.1791, allocations: 419 kB / 0.6991 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.1793, allocations: 132.8 kB / 0.6993 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.1793, allocations: 7.938 kB / 0.6993 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.1796, allocations: 27.95 kB / 0.6993 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.1796, allocations: 15.98 kB / 0.6993 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1797, allocations: 3.984 kB / 0.6993 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002903/0.1799, allocations: 287.1 kB / 0.6996 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1799, allocations: 0 / 0.6996 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004187/0.1804, allocations: 123.8 kB / 0.6997 GB, free: 1.641 MB / 0.5137 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 (11): * Single equations (assignments): 11 * 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.001317/0.1817, allocations: 1.025 MB / 0.7007 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009242/0.1826, allocations: 467.1 kB / 0.7012 GB, free: 124 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1826, allocations: 3.938 kB / 0.7012 GB, free: 120 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.183, allocations: 131.9 kB / 0.7013 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.1835, allocations: 70.75 kB / 0.7014 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.1891, allocations: 4.201 MB / 0.7055 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1895, allocations: 0.7788 MB / 0.7062 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.1897, allocations: 53.5 kB / 0.7063 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.1898, allocations: 99.39 kB / 0.7064 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.1898, allocations: 4 kB / 0.7064 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.2211, allocations: 8.327 MB / 0.7145 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.294, allocations: 6.078 kB / 0.7145 GB, free: 2.488 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_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_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.77007001824677] Failed to read output from testmodel.py, exit status != 0: 8.368046189658344 8.39388133 8.222851813 Calling exit ...