Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 278.8 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9332/0.9332, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.0017, allocations: 102.3 kB / 0.5954 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1361, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition): time 0.002176/0.1383, allocations: 1.237 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.1386, allocations: 121.3 kB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.1387, allocations: 0 / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.1387, allocations: 0 / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.1389, allocations: 27.92 kB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.492e-05/0.139, allocations: 3.984 kB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.751e-05/0.1391, allocations: 7.938 kB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1391, allocations: 7.984 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/0.1391, allocations: 0 / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1392, allocations: 12 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.735e-06/0.1392, allocations: 0 / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-06/0.1392, allocations: 0 / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.1393, allocations: 3.938 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.1393, allocations: 7.938 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.988e-05/0.1393, allocations: 7.984 kB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1393, allocations: 0 / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1393, allocations: 0 / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1394, allocations: 0 / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002496/0.1396, allocations: 315.8 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1396, allocations: 8.031 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.1397, allocations: 34.75 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.68e-05/0.1397, allocations: 0.9375 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/0.1398, allocations: 168.4 kB / 0.6822 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.1398, allocations: 4.375 kB / 0.6822 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.1398, allocations: 4.359 kB / 0.6822 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.1399, allocations: 30.2 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1399, allocations: 3.938 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.1399, allocations: 0 / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1399, allocations: 0 / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.572e-05/0.14, allocations: 4 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.1402, allocations: 383.5 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.037e-05/0.1403, allocations: 169.1 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.1403, allocations: 84.08 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1404, allocations: 75.28 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.1404, allocations: 113.8 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1404, allocations: 0 / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.839e-05/0.1405, allocations: 29.7 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1405, allocations: 126.7 kB / 0.6832 GB, free: 13.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.1406, allocations: 97.84 kB / 0.6833 GB, free: 13.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.1406, allocations: 29.64 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1407, allocations: 84.05 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.1407, allocations: 0 / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.1407, allocations: 17.84 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1408, allocations: 314.8 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.1408, allocations: 3.938 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.1408, allocations: 0 / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.1409, allocations: 8.859 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1409, allocations: 3.938 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.34e-05/0.141, allocations: 33.69 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.141, allocations: 4.094 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.141, allocations: 4 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.141, allocations: 4 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.99e-05/0.1411, allocations: 0 / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1411, allocations: 0 / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.1411, allocations: 7.938 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1411, allocations: 3.938 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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 7.746e-05/0.1412, allocations: 189.7 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.1412, allocations: 105 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.1413, allocations: 108.1 kB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.208e-05/0.1414, allocations: 184.2 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.888e-05/0.1414, allocations: 176.3 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/0.1415, allocations: 188.2 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1417, allocations: 401.2 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.1418, allocations: 109 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.1418, allocations: 104.9 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-05/0.1419, allocations: 180.8 kB / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.1419, allocations: 188.2 kB / 0.6856 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.683e-05/0.142, allocations: 180.3 kB / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.992e-05/0.142, allocations: 176.3 kB / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1421, allocations: 319.9 kB / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.1422, allocations: 182 kB / 0.6865 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.1423, allocations: 176.3 kB / 0.6866 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.1423, allocations: 105 kB / 0.6867 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1424, allocations: 184.2 kB / 0.6869 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.1424, allocations: 105 kB / 0.687 GB, free: 9.254 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.1425, allocations: 87.22 kB / 0.6871 GB, free: 9.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1425, allocations: 0 / 0.6871 GB, free: 9.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1427, allocations: 0 / 0.6871 GB, free: 9.168 MB / 494.1 MB 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 (0): * Single equations (assignments): 0 * 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.0004309/0.1431, allocations: 0.8205 MB / 0.6879 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.172e-05/0.1432, allocations: 4 kB / 0.6879 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1432, allocations: 0 / 0.6879 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.1432, allocations: 0 / 0.6879 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1435, allocations: 465.4 kB / 0.6883 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.1438, allocations: 186.5 kB / 0.6885 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1441, allocations: 0.6768 MB / 0.6892 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.487e-05/0.1441, allocations: 0 / 0.6892 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.1441, allocations: 7.438 kB / 0.6892 GB, free: 6.922 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1441, allocations: 0 / 0.6892 GB, free: 6.922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.1598, allocations: 0.9865 MB / 0.6901 GB, free: 6.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.09, allocations: 5.375 kB / 0.6902 GB, free: 6.129 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe 2>&1)