Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001163/0.001163, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001145/0.001145, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9852/0.9852, allocations: 175.7 MB / 480.1 MB, free: 3.133 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 77.33 kB / 0.6678 GB, free: 11.1 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1533, allocations: 94.53 MB / 0.7601 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003651/0.157, allocations: 2.18 MB / 0.7622 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005748/0.1627, allocations: 4.14 MB / 0.7662 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.1629, allocations: 3.938 kB / 0.7662 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008537/0.1637, allocations: 187.2 kB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.164, allocations: 75.34 kB / 0.7665 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008014/0.1648, allocations: 294.3 kB / 0.7668 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006946/0.1655, allocations: 434.7 kB / 0.7672 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1656, allocations: 36.72 kB / 0.7672 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.1658, allocations: 143.5 kB / 0.7674 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1661, allocations: 163.3 kB / 0.7675 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.1661, allocations: 20 kB / 0.7675 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005716/0.1667, allocations: 327.5 kB / 0.7679 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.1668, allocations: 115.6 kB / 0.768 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.167, allocations: 170.9 kB / 0.7681 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.1679, allocations: 0.5681 MB / 0.7687 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1679, allocations: 0 / 0.7687 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1679, allocations: 4 kB / 0.7687 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.1679, allocations: 0 / 0.7687 GB, free: 8.109 MB / 0.5762 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.001633/0.1695, allocations: 0.8145 MB / 0.7695 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1696, allocations: 8.031 kB / 0.7695 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.952e-05/0.1696, allocations: 50.72 kB / 0.7695 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009775/0.1706, allocations: 176.5 kB / 0.7697 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008463/0.1715, allocations: 394.2 kB / 0.7701 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1715, allocations: 8 kB / 0.7701 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.1715, allocations: 15.94 kB / 0.7701 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.1722, allocations: 249.4 kB / 0.7703 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1722, allocations: 0 / 0.7703 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.1722, allocations: 12 kB / 0.7704 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1723, allocations: 3.938 kB / 0.7704 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1733, allocations: 323.7 kB / 0.7707 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.1748, allocations: 0.6836 MB / 0.7713 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.1754, allocations: 210.4 kB / 0.7715 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.176, allocations: 173 kB / 0.7717 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.176, allocations: 31.97 kB / 0.7717 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.1761, allocations: 34.5 kB / 0.7718 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1761, allocations: 0 / 0.7718 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001802/0.1779, allocations: 0.5675 MB / 0.7723 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.1779, allocations: 51.41 kB / 0.7724 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.1784, allocations: 441.8 kB / 0.7728 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.1784, allocations: 33.7 kB / 0.7728 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1786, allocations: 184.6 kB / 0.773 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.1786, allocations: 47.58 kB / 0.773 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1787, allocations: 49.69 kB / 0.7731 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.1789, allocations: 346.8 kB / 0.7734 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.1795, allocations: 300 kB / 0.7737 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00066/0.1802, allocations: 293.2 kB / 0.774 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.1814, allocations: 0.5081 MB / 0.7745 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1814, allocations: 0 / 0.7745 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001496/0.1829, allocations: 0.7189 MB / 0.7752 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.183, allocations: 37.69 kB / 0.7752 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.183, allocations: 4 kB / 0.7752 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.183, allocations: 7.922 kB / 0.7752 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.1834, allocations: 75.86 kB / 0.7753 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1834, allocations: 3.984 kB / 0.7753 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.1838, allocations: 47.8 kB / 0.7754 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.1838, allocations: 7.984 kB / 0.7754 GB, free: 1.008 MB / 0.5762 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.0001882/0.184, allocations: 161.8 kB / 0.7755 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.1841, allocations: 35.77 kB / 0.7755 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.1854, allocations: 444.8 kB / 0.776 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.1854, allocations: 7.938 kB / 0.776 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1854, allocations: 0 / 0.776 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1854, allocations: 0 / 0.776 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.1858, allocations: 373.4 kB / 0.7763 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1858, allocations: 3.938 kB / 0.7763 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.1862, allocations: 59.92 kB / 0.7764 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1863, allocations: 0 / 0.7764 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.1863, allocations: 3.984 kB / 0.7764 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.1863, allocations: 15.94 kB / 0.7764 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1863, allocations: 0 / 0.7764 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.1875, allocations: 0.4982 MB / 0.7769 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.1877, allocations: 140.8 kB / 0.777 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.1877, allocations: 0 / 0.777 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.1881, allocations: 43.89 kB / 0.7771 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.1881, allocations: 23.95 kB / 0.7771 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.1882, allocations: 4 kB / 0.7771 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003222/0.1885, allocations: 303.1 kB / 0.7774 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1885, allocations: 0 / 0.7774 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004661/0.1889, allocations: 127.8 kB / 0.7775 GB, free: 14.7 MB / 0.5919 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.001843/0.1908, allocations: 1.122 MB / 0.7786 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.1922, allocations: 0.624 MB / 0.7792 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1922, allocations: 0 / 0.7792 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005704/0.1928, allocations: 179.8 kB / 0.7794 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1932, allocations: 59.75 kB / 0.7794 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007848/0.2011, allocations: 5.229 MB / 0.7846 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.2015, allocations: 0.7905 MB / 0.7853 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.2018, allocations: 57.91 kB / 0.7854 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.202, allocations: 119.4 kB / 0.7855 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.202, allocations: 0 / 0.7855 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.2373, allocations: 9.139 MB / 0.7944 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/7.898, allocations: 10.31 kB / 0.7944 GB, free: 13.37 MB / 0.6075 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.354325993990642]