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.00689/0.006891, allocations: 100.5 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009971/0.000997, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 294 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9195/0.9195, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 91.86 kB / 0.681 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3734, allocations: 86.98 MB / 0.7659 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition): time 0.001923/0.3754, allocations: 1.245 MB / 0.7672 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.3757, allocations: 115.7 kB / 0.7673 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.3757, allocations: 0 / 0.7673 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.3757, allocations: 3.938 kB / 0.7673 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.376, allocations: 11.92 kB / 0.7673 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.011e-05/0.376, allocations: 8 kB / 0.7673 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.3761, allocations: 19.91 kB / 0.7673 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.3761, allocations: 0 / 0.7673 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.3762, allocations: 7.938 kB / 0.7673 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3763, allocations: 4 kB / 0.7673 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.3763, allocations: 0 / 0.7673 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-06/0.3763, allocations: 0 / 0.7673 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.3763, allocations: 4 kB / 0.7673 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.3763, allocations: 3.984 kB / 0.7673 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.423e-05/0.3764, allocations: 4 kB / 0.7673 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3764, allocations: 0 / 0.7673 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.487e-06/0.3764, allocations: 4 kB / 0.7673 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3764, allocations: 3.938 kB / 0.7673 GB, free: 2.355 MB / 0.5294 GB 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.0002561/0.3767, allocations: 311.4 kB / 0.7676 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3767, allocations: 12.03 kB / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.658e-05/0.3767, allocations: 30.75 kB / 0.7677 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.3768, allocations: 4.891 kB / 0.7677 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.915e-05/0.3769, allocations: 168.4 kB / 0.7678 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.3769, allocations: 384 / 0.7678 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.3769, allocations: 384 / 0.7678 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.184e-05/0.377, allocations: 42.2 kB / 0.7679 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.377, allocations: 3.938 kB / 0.7679 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.377, allocations: 0 / 0.7679 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.377, allocations: 0 / 0.7679 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.514e-05/0.377, allocations: 4 kB / 0.7679 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.3773, allocations: 375.5 kB / 0.7683 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.554e-05/0.3774, allocations: 177.1 kB / 0.7684 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.3774, allocations: 88.08 kB / 0.7685 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3774, allocations: 75.28 kB / 0.7686 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3775, allocations: 105.8 kB / 0.7687 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3775, allocations: 0 / 0.7687 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.457e-05/0.3775, allocations: 25.7 kB / 0.7687 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3776, allocations: 134.7 kB / 0.7688 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.3777, allocations: 97.86 kB / 0.7689 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.3777, allocations: 25.7 kB / 0.769 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.3777, allocations: 80.14 kB / 0.769 GB, free: 428 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.3777, allocations: 4 kB / 0.769 GB, free: 424 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.3778, allocations: 9.719 kB / 0.769 GB, free: 408 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.3778, allocations: 310.8 kB / 0.7693 GB, free: 88 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.3779, allocations: 12.05 kB / 0.7693 GB, free: 76 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.3779, allocations: 7.938 kB / 0.7694 GB, free: 68 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/0.3779, allocations: 8.859 kB / 0.7694 GB, free: 56 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3779, allocations: 3.938 kB / 0.7694 GB, free: 52 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.431e-05/0.378, allocations: 37.66 kB / 0.7694 GB, free: 8 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.378, allocations: 4 kB / 0.7694 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.378, allocations: 0 / 0.7694 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.378, allocations: 0 / 0.7694 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.3781, allocations: 4 kB / 0.7694 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3781, allocations: 4.219 kB / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.3781, allocations: 3.938 kB / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3782, allocations: 0 / 0.7694 GB, free: 15.99 MB / 0.545 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 (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.549e-05/0.3782, allocations: 193 kB / 0.7696 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.3783, allocations: 109 kB / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3783, allocations: 110 kB / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-05/0.3784, allocations: 184.2 kB / 0.77 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-05/0.3784, allocations: 176.3 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.567e-05/0.3785, allocations: 188.2 kB / 0.7703 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.3787, allocations: 401.2 kB / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/0.3787, allocations: 105 kB / 0.7708 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.3788, allocations: 112.9 kB / 0.7709 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.742e-05/0.3788, allocations: 180.3 kB / 0.7711 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.3789, allocations: 180.2 kB / 0.7713 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-05/0.3789, allocations: 180.3 kB / 0.7714 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-05/0.379, allocations: 180.3 kB / 0.7716 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.3791, allocations: 315.7 kB / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.3792, allocations: 182 kB / 0.7721 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.3792, allocations: 176.5 kB / 0.7723 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.3793, allocations: 109 kB / 0.7724 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.3794, allocations: 188.2 kB / 0.7725 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.3794, allocations: 101 kB / 0.7726 GB, free: 12.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.3794, allocations: 79.28 kB / 0.7727 GB, free: 12.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3794, allocations: 0 / 0.7727 GB, free: 12.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002037/0.3797, allocations: 4 kB / 0.7727 GB, free: 12.39 MB / 0.545 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.000316/0.38, allocations: 0.8166 MB / 0.7735 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.345e-05/0.38, allocations: 4 kB / 0.7735 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.38, allocations: 0 / 0.7735 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3801, allocations: 0 / 0.7735 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3804, allocations: 459.6 kB / 0.774 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.3807, allocations: 190.9 kB / 0.7741 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.3809, allocations: 0.6767 MB / 0.7748 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.779e-05/0.3809, allocations: 0 / 0.7748 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.3809, allocations: 7.438 kB / 0.7748 GB, free: 10.15 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.3809, allocations: 0 / 0.7748 GB, free: 10.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.3957, allocations: 1.001 MB / 0.7758 GB, free: 9.359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/7.321, allocations: 21 kB / 0.7758 GB, free: 9.348 MB / 0.545 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)