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.001282/0.001282, 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.001313/0.001313, allocations: 194.2 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 287 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 103.3 kB / 0.6066 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1456, allocations: 89.15 MB / 0.6936 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition): time 0.002432/0.148, allocations: 1.243 MB / 0.6949 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003106/0.1484, allocations: 121.6 kB / 0.695 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.1484, allocations: 0 / 0.695 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.1484, allocations: 0 / 0.695 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1487, allocations: 23.91 kB / 0.695 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.311e-05/0.1487, allocations: 1 kB / 0.695 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.789e-05/0.1488, allocations: 4.5 kB / 0.695 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.1488, allocations: 7.984 kB / 0.695 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.1488, allocations: 0.6875 kB / 0.695 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1489, allocations: 17.36 kB / 0.695 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.149, allocations: 0 / 0.695 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.253e-06/0.149, allocations: 7.875 kB / 0.695 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.149, allocations: 0 / 0.695 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.149, allocations: 4.594 kB / 0.695 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.978e-05/0.1491, allocations: 5.562 kB / 0.695 GB, free: 2.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1491, allocations: 3.984 kB / 0.695 GB, free: 2.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1491, allocations: 0 / 0.695 GB, free: 2.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.1491, allocations: 0 / 0.695 GB, free: 2.746 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.0003014/0.1494, allocations: 308.2 kB / 0.6953 GB, free: 2.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1494, allocations: 8.562 kB / 0.6953 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.1495, allocations: 30.75 kB / 0.6954 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.794e-05/0.1495, allocations: 3.688 kB / 0.6954 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1496, allocations: 168.7 kB / 0.6955 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1496, allocations: 384 / 0.6955 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1496, allocations: 4.375 kB / 0.6955 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.25e-05/0.1497, allocations: 26.27 kB / 0.6956 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1497, allocations: 3.938 kB / 0.6956 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.1498, allocations: 1.469 kB / 0.6956 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1498, allocations: 4 kB / 0.6956 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.1498, allocations: 3.938 kB / 0.6956 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.1501, allocations: 387.5 kB / 0.696 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.961e-05/0.1502, allocations: 173.1 kB / 0.6961 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.1502, allocations: 80.14 kB / 0.6962 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.1503, allocations: 75.28 kB / 0.6963 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.1503, allocations: 113.8 kB / 0.6964 GB, free: 1.211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1503, allocations: 0 / 0.6964 GB, free: 1.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.687e-05/0.1504, allocations: 33.61 kB / 0.6964 GB, free: 1.172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.1505, allocations: 126.7 kB / 0.6965 GB, free: 1.035 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.1506, allocations: 101.8 kB / 0.6966 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1506, allocations: 29.64 kB / 0.6967 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.1506, allocations: 80.14 kB / 0.6967 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.1507, allocations: 4.125 kB / 0.6967 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.1507, allocations: 9.719 kB / 0.6967 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1508, allocations: 318.8 kB / 0.697 GB, free: 480 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.1508, allocations: 0 / 0.697 GB, free: 480 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.1508, allocations: 0 / 0.697 GB, free: 480 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.1509, allocations: 16.78 kB / 0.6971 GB, free: 460 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1509, allocations: 7.938 kB / 0.6971 GB, free: 452 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.454e-05/0.151, allocations: 33.77 kB / 0.6971 GB, free: 412 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.151, allocations: 5.719 kB / 0.6971 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.151, allocations: 0 / 0.6971 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.151, allocations: 4 kB / 0.6971 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.1511, allocations: 0 / 0.6971 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1511, allocations: 3.938 kB / 0.6971 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.1511, allocations: 0 / 0.6971 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.1511, allocations: 0 / 0.6971 GB, free: 400 kB / 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 0.0001005/0.1512, allocations: 193.7 kB / 0.6973 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.1513, allocations: 112.9 kB / 0.6974 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.1513, allocations: 104.1 kB / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.246e-05/0.1514, allocations: 180.3 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.86e-05/0.1515, allocations: 180.2 kB / 0.6978 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.818e-05/0.1516, allocations: 180.3 kB / 0.698 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.1518, allocations: 417.1 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/0.1519, allocations: 101 kB / 0.6985 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.1519, allocations: 104.9 kB / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-05/0.152, allocations: 180.2 kB / 0.6988 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/0.1521, allocations: 180.3 kB / 0.699 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.472e-05/0.1522, allocations: 184.2 kB / 0.6991 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.914e-05/0.1522, allocations: 180.3 kB / 0.6993 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.1524, allocations: 311.9 kB / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/0.1525, allocations: 182.1 kB / 0.6998 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.1526, allocations: 180.2 kB / 0.6999 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.1527, allocations: 109 kB / 0.7001 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.1527, allocations: 184.2 kB / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.1528, allocations: 101 kB / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.1528, allocations: 83.22 kB / 0.7004 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1528, allocations: 0 / 0.7004 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002086/0.1531, allocations: 0 / 0.7004 GB, free: 12.8 MB / 0.4981 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 (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.0004386/0.1535, allocations: 0.825 MB / 0.7012 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.331e-05/0.1536, allocations: 4 kB / 0.7012 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1536, allocations: 0 / 0.7012 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1536, allocations: 0 / 0.7012 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1539, allocations: 463.8 kB / 0.7017 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.1543, allocations: 182.5 kB / 0.7018 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1546, allocations: 0.6767 MB / 0.7025 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.469e-05/0.1546, allocations: 0 / 0.7025 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.1546, allocations: 10.02 kB / 0.7025 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1546, allocations: 0 / 0.7025 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.1756, allocations: 0.9819 MB / 0.7035 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.82, allocations: 11.59 kB / 0.7035 GB, free: 9.746 MB / 0.4981 GB (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)