Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",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.004898/0.004898, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001445/0.001445, allocations: 190.1 kB / 16.67 MB, free: 5.48 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002421/0.002421, allocations: 285.4 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9658/0.9658, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 99.84 kB / 0.681 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3667, allocations: 86.98 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002512/0.3693, allocations: 1.381 MB / 0.7673 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003813/0.3731, allocations: 2.911 MB / 0.7701 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.3732, allocations: 0 / 0.7701 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.433e-05/0.3733, allocations: 4 kB / 0.7701 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.3734, allocations: 47.73 kB / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.374, allocations: 179.2 kB / 0.7703 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.3743, allocations: 235.5 kB / 0.7705 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.3743, allocations: 19.72 kB / 0.7706 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3745, allocations: 91.84 kB / 0.7706 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.3746, allocations: 131.7 kB / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.3747, allocations: 8 kB / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.3751, allocations: 139.8 kB / 0.7709 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3752, allocations: 87.75 kB / 0.771 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3753, allocations: 87.64 kB / 0.7711 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.3757, allocations: 272.4 kB / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3757, allocations: 0 / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3757, allocations: 0 / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3757, allocations: 0 / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008859/0.3766, allocations: 0.5374 MB / 0.7719 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3767, allocations: 8.031 kB / 0.7719 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/0.3767, allocations: 50.73 kB / 0.7719 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3768, allocations: 20.84 kB / 0.7719 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.3771, allocations: 240 kB / 0.7722 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.3772, allocations: 24.36 kB / 0.7722 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.3772, allocations: 20.38 kB / 0.7722 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.3779, allocations: 290.1 kB / 0.7725 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3779, allocations: 4 kB / 0.7725 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.3779, allocations: 4 kB / 0.7725 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.378, allocations: 7.938 kB / 0.7725 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.3795, allocations: 0.7529 MB / 0.7732 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.3799, allocations: 309.3 kB / 0.7735 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.3816, allocations: 0.6758 MB / 0.7742 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.3822, allocations: 233.3 kB / 0.7744 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004691/0.3826, allocations: 396 kB / 0.7748 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3827, allocations: 30.56 kB / 0.7748 GB, free: 10.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.3827, allocations: 0 / 0.7748 GB, free: 10.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001652/0.3843, allocations: 0.6539 MB / 0.7755 GB, free: 9.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3844, allocations: 59.16 kB / 0.7755 GB, free: 9.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3845, allocations: 132.1 kB / 0.7756 GB, free: 9.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3846, allocations: 33.7 kB / 0.7757 GB, free: 9.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.3846, allocations: 88.8 kB / 0.7758 GB, free: 9.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3847, allocations: 138.8 kB / 0.7759 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.3849, allocations: 65.69 kB / 0.776 GB, free: 9.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.385, allocations: 334.8 kB / 0.7763 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.3855, allocations: 183.8 kB / 0.7764 GB, free: 8.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.386, allocations: 203.9 kB / 0.7766 GB, free: 8.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.387, allocations: 364.2 kB / 0.777 GB, free: 8.211 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.387, allocations: 0 / 0.777 GB, free: 8.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001127/0.3881, allocations: 469.3 kB / 0.7774 GB, free: 7.746 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3881, allocations: 4 kB / 0.7774 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3881, allocations: 4 kB / 0.7774 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3882, allocations: 0 / 0.7774 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.3885, allocations: 91.86 kB / 0.7775 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3886, allocations: 4 kB / 0.7775 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.3888, allocations: 51.8 kB / 0.7776 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.3888, allocations: 15.98 kB / 0.7776 GB, free: 7.578 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 (37): * Single equations (assignments): 37 * 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.0001308/0.3889, allocations: 144.2 kB / 0.7777 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.389, allocations: 23.84 kB / 0.7778 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.3902, allocations: 0.5094 MB / 0.7783 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3903, allocations: 4 kB / 0.7783 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3903, allocations: 8 kB / 0.7783 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3903, allocations: 3.938 kB / 0.7783 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.3906, allocations: 321.3 kB / 0.7786 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3907, allocations: 3.938 kB / 0.7786 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.391, allocations: 91.91 kB / 0.7787 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.391, allocations: 3.938 kB / 0.7787 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.391, allocations: 11.98 kB / 0.7787 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3911, allocations: 4 kB / 0.7787 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3911, allocations: 7.938 kB / 0.7787 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3922, allocations: 0.4966 MB / 0.7792 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.3923, allocations: 100.9 kB / 0.7793 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.3923, allocations: 4 kB / 0.7793 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3925, allocations: 35.95 kB / 0.7793 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.3927, allocations: 115.8 kB / 0.7794 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.3928, allocations: 15.98 kB / 0.7794 GB, free: 5.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.3928, allocations: 99.27 kB / 0.7795 GB, free: 5.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3928, allocations: 0 / 0.7795 GB, free: 5.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003738/0.3932, allocations: 123.7 kB / 0.7797 GB, free: 5.375 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 (37): * Single equations (assignments): 37 * 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.001663/0.3949, allocations: 1.111 MB / 0.7807 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.396, allocations: 471.4 kB / 0.7812 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.396, allocations: 0 / 0.7812 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.3966, allocations: 263.7 kB / 0.7814 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.397, allocations: 83.86 kB / 0.7815 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.4014, allocations: 2.689 MB / 0.7841 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.4018, allocations: 0.7289 MB / 0.7849 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004187/0.4022, allocations: 191.1 kB / 0.785 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4024, allocations: 63.41 kB / 0.7851 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4024, allocations: 0 / 0.7851 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.4318, allocations: 7.442 MB / 0.7924 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.08, allocations: 16.97 kB / 0.7924 GB, free: 8.441 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_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_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)