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.006661/0.006661, allocations: 101 kB / 15.73 MB, free: 6.059 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.001836/0.001836, allocations: 193.4 kB / 16.67 MB, free: 5.969 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.391/1.391, 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.002628/0.002628, allocations: 287.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 99.84 kB / 0.681 GB, free: 7.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3844, allocations: 86.98 MB / 0.766 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition): time 0.002377/0.3868, allocations: 1.237 MB / 0.7672 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003463/0.3872, allocations: 119.7 kB / 0.7673 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.3872, allocations: 0 / 0.7673 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.3873, allocations: 3.938 kB / 0.7673 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.3876, allocations: 15.97 kB / 0.7673 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.326e-05/0.3876, allocations: 11.94 kB / 0.7673 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.591e-05/0.3877, allocations: 7.984 kB / 0.7673 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.3877, allocations: 0 / 0.7673 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.3878, allocations: 7.938 kB / 0.7673 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3879, allocations: 7.984 kB / 0.7673 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.584e-06/0.3879, allocations: 0 / 0.7673 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.561e-06/0.3879, allocations: 0 / 0.7673 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.3879, allocations: 0 / 0.7673 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.3879, allocations: 4 kB / 0.7673 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.606e-05/0.388, allocations: 7.984 kB / 0.7673 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.388, allocations: 4 kB / 0.7673 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.388, allocations: 0 / 0.7673 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.388, allocations: 0 / 0.7673 GB, free: 2.363 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.000328/0.3884, allocations: 311.4 kB / 0.7676 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3884, allocations: 15.97 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.3885, allocations: 30.75 kB / 0.7677 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.3885, allocations: 4.891 kB / 0.7677 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3886, allocations: 168.3 kB / 0.7679 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3886, allocations: 384 / 0.7679 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.3887, allocations: 8.312 kB / 0.7679 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.044e-05/0.3887, allocations: 34.27 kB / 0.7679 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3888, allocations: 3.938 kB / 0.7679 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.3888, allocations: 4 kB / 0.7679 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3888, allocations: 0 / 0.7679 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.3888, allocations: 0 / 0.7679 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.3891, allocations: 375.5 kB / 0.7683 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.3892, allocations: 181 kB / 0.7684 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.3893, allocations: 84.17 kB / 0.7685 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.3893, allocations: 75.28 kB / 0.7686 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.3894, allocations: 105.8 kB / 0.7687 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3894, allocations: 0 / 0.7687 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.177e-05/0.3895, allocations: 29.7 kB / 0.7687 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.3895, allocations: 130.6 kB / 0.7688 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.3896, allocations: 101.8 kB / 0.7689 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3896, allocations: 25.7 kB / 0.769 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.3897, allocations: 80.14 kB / 0.769 GB, free: 428 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.3897, allocations: 4 kB / 0.769 GB, free: 424 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.3897, allocations: 9.719 kB / 0.769 GB, free: 408 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3899, allocations: 315 kB / 0.7693 GB, free: 84 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.3899, allocations: 0 / 0.7693 GB, free: 84 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-06/0.3899, allocations: 4 kB / 0.7694 GB, free: 80 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.3899, allocations: 12.84 kB / 0.7694 GB, free: 64 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3899, allocations: 3.938 kB / 0.7694 GB, free: 60 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.368e-05/0.39, allocations: 41.59 kB / 0.7694 GB, free: 12 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3901, allocations: 6.344 kB / 0.7694 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3901, allocations: 0 / 0.7694 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3901, allocations: 4.094 kB / 0.7694 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.3901, allocations: 4 kB / 0.7694 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3902, allocations: 0 / 0.7694 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.3902, allocations: 0 / 0.7694 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3902, allocations: 128 / 0.7694 GB, free: 16 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 0.0001027/0.3903, allocations: 193 kB / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.3904, allocations: 105 kB / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.3905, allocations: 113.9 kB / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.087e-05/0.3905, allocations: 180.3 kB / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.002e-05/0.3906, allocations: 176.3 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.288e-05/0.3907, allocations: 188.2 kB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.391, allocations: 401.2 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.691e-05/0.391, allocations: 108.9 kB / 0.7708 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.3911, allocations: 109 kB / 0.7709 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.69e-05/0.3912, allocations: 180.2 kB / 0.7711 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/0.3912, allocations: 184.1 kB / 0.7713 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.453e-05/0.3913, allocations: 180.3 kB / 0.7714 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.44e-05/0.3914, allocations: 184.2 kB / 0.7716 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.3916, allocations: 315.7 kB / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.3917, allocations: 178.1 kB / 0.7721 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.3917, allocations: 176.5 kB / 0.7723 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3919, allocations: 108.9 kB / 0.7724 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.3919, allocations: 192.3 kB / 0.7725 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.392, allocations: 108.9 kB / 0.7726 GB, free: 12.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.392, allocations: 75.28 kB / 0.7727 GB, free: 12.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.392, allocations: 0 / 0.7727 GB, free: 12.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002971/0.3923, 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.0004714/0.3928, allocations: 0.8127 MB / 0.7735 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.326e-05/0.3929, allocations: 4 kB / 0.7735 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3929, allocations: 3.938 kB / 0.7735 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.3929, 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.000446/0.3934, 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.0004239/0.3938, allocations: 190.5 kB / 0.7741 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3941, allocations: 0.669 MB / 0.7748 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.004e-05/0.3941, allocations: 0 / 0.7748 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.3942, allocations: 10.19 kB / 0.7748 GB, free: 10.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.3942, allocations: 0 / 0.7748 GB, free: 10.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.223/1.617, allocations: 0.9973 MB / 0.7758 GB, free: 9.367 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/9.432, allocations: 17.69 kB / 0.7758 GB, free: 9.355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe 2>&1)