Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",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.007662/0.007662, allocations: 100.9 kB / 15.73 MB, free: 6.066 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.002109/0.00211, allocations: 195.4 kB / 16.67 MB, free: 5.977 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.447/1.447, 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.002593/0.002594, allocations: 286.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.217/1.217, allocations: 178.5 MB / 0.5074 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 99.83 kB / 0.6943 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3842, allocations: 89.13 MB / 0.7813 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001967/0.3862, allocations: 1.379 MB / 0.7827 GB, free: 76 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003843/0.39, allocations: 2.911 MB / 0.7855 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.3901, allocations: 1 kB / 0.7855 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.398e-05/0.3902, allocations: 9.125 kB / 0.7855 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.3903, allocations: 48.39 kB / 0.7856 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.3908, allocations: 182.1 kB / 0.7857 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.3911, allocations: 247.2 kB / 0.786 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.3912, allocations: 3.125 kB / 0.786 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3913, allocations: 91.45 kB / 0.7861 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3914, allocations: 117.7 kB / 0.7862 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.3915, allocations: 19.48 kB / 0.7862 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.3919, allocations: 133.4 kB / 0.7863 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.392, allocations: 89.55 kB / 0.7864 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3921, allocations: 91.28 kB / 0.7865 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.3925, allocations: 273 kB / 0.7868 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3925, allocations: 0 / 0.7868 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3925, allocations: 0 / 0.7868 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3925, allocations: 0 / 0.7868 GB, free: 12.98 MB / 0.5606 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.0009087/0.3934, allocations: 0.5368 MB / 0.7873 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3935, allocations: 13 kB / 0.7873 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.189e-05/0.3936, allocations: 53.48 kB / 0.7874 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3937, allocations: 17.69 kB / 0.7874 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3939, allocations: 248.5 kB / 0.7876 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.394, allocations: 24.17 kB / 0.7876 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.394, allocations: 14.03 kB / 0.7876 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.3947, allocations: 294.1 kB / 0.7879 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3947, allocations: 0 / 0.7879 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.3948, allocations: 9.125 kB / 0.7879 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3948, allocations: 4.5 kB / 0.7879 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.3963, allocations: 0.7456 MB / 0.7887 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.3967, allocations: 302.4 kB / 0.789 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.3986, allocations: 0.6807 MB / 0.7896 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.3991, allocations: 235.8 kB / 0.7898 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004458/0.3996, allocations: 394.3 kB / 0.7902 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3996, allocations: 40.83 kB / 0.7903 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.724e-06/0.3996, allocations: 0 / 0.7903 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001783/0.4014, allocations: 0.6556 MB / 0.7909 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4015, allocations: 58.41 kB / 0.791 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.4016, allocations: 126.4 kB / 0.7911 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.4017, allocations: 32.08 kB / 0.7911 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.4017, allocations: 89.95 kB / 0.7912 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.4018, allocations: 134.3 kB / 0.7913 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.402, allocations: 64.94 kB / 0.7914 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4021, allocations: 332.5 kB / 0.7917 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.4027, allocations: 190.3 kB / 0.7919 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.4032, allocations: 202.2 kB / 0.7921 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.4042, allocations: 367.6 kB / 0.7924 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4042, allocations: 0 / 0.7924 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00118/0.4054, allocations: 463.6 kB / 0.7929 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4054, allocations: 5.344 kB / 0.7929 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4054, allocations: 1.375 kB / 0.7929 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4054, allocations: 1.25 kB / 0.7929 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.4058, allocations: 99.56 kB / 0.793 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.4058, allocations: 6.281 kB / 0.793 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.4061, allocations: 49.5 kB / 0.793 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.4061, allocations: 16.39 kB / 0.793 GB, free: 8.855 MB / 0.5606 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.000142/0.4062, allocations: 139.5 kB / 0.7932 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.4063, allocations: 20.78 kB / 0.7932 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.4076, allocations: 0.5202 MB / 0.7937 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4076, allocations: 4.031 kB / 0.7937 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4076, allocations: 0 / 0.7937 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4077, allocations: 4 kB / 0.7937 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.408, allocations: 314.9 kB / 0.794 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.408, allocations: 7.922 kB / 0.794 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.4084, allocations: 95.92 kB / 0.7941 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4084, allocations: 1.812 kB / 0.7941 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.4084, allocations: 11.61 kB / 0.7941 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4084, allocations: 1.75 kB / 0.7941 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4085, allocations: 0 / 0.7941 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.4096, allocations: 0.4976 MB / 0.7946 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.4097, allocations: 102.3 kB / 0.7947 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.4098, allocations: 10.81 kB / 0.7947 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.41, allocations: 35.52 kB / 0.7947 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.4102, allocations: 115 kB / 0.7949 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.4103, allocations: 17.11 kB / 0.7949 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.4103, allocations: 100.3 kB / 0.795 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4103, allocations: 1.281 kB / 0.795 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004003/0.4107, allocations: 115.9 kB / 0.7951 GB, free: 7.547 MB / 0.5606 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.001718/0.4125, allocations: 1.126 MB / 0.7962 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.4136, allocations: 471.7 kB / 0.7966 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4137, allocations: 0 / 0.7966 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.4142, allocations: 261.6 kB / 0.7969 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.4147, allocations: 76.17 kB / 0.797 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.4191, allocations: 2.684 MB / 0.7996 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4195, allocations: 0.7307 MB / 0.8003 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004232/0.4199, allocations: 188.8 kB / 0.8005 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.4201, allocations: 63.84 kB / 0.8005 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.4201, allocations: 0 / 0.8005 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.4501, allocations: 7.461 MB / 0.8078 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.596, allocations: 8.062 kB / 0.8078 GB, free: 13.34 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater_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_PropyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)