Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001083/0.001083, allocations: 109.4 kB / 15.69 MB, free: 128 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.001156/0.001156, allocations: 189.5 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.862/1.862, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 73.83 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2787, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002483/0.2812, allocations: 1.259 MB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003674/0.2849, allocations: 2.936 MB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.285, allocations: 0 / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.285, allocations: 0 / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.751e-05/0.2851, allocations: 3.938 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.2856, allocations: 99.53 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.2856, allocations: 39.84 kB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.2857, allocations: 8 kB / 0.7879 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004861/0.2862, allocations: 155.5 kB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.484e-05/0.2862, allocations: 19.92 kB / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2863, allocations: 0 / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.2864, allocations: 59.83 kB / 0.7881 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.2864, allocations: 15.97 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.2865, allocations: 15.94 kB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.2867, allocations: 68.06 kB / 0.7882 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2867, allocations: 0 / 0.7882 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2867, allocations: 4 kB / 0.7882 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2867, allocations: 0 / 0.7882 GB, free: 8.555 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003916/0.2871, allocations: 347.4 kB / 0.7885 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2871, allocations: 12.03 kB / 0.7885 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.2872, allocations: 34.75 kB / 0.7886 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.2872, allocations: 4.938 kB / 0.7886 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2873, allocations: 172.2 kB / 0.7887 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2874, allocations: 384 / 0.7887 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2874, allocations: 8.375 kB / 0.7887 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.2875, allocations: 57.61 kB / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2875, allocations: 0 / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2875, allocations: 4 kB / 0.7888 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2876, allocations: 0 / 0.7888 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.2876, allocations: 15.98 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.2878, allocations: 169.6 kB / 0.789 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.613e-05/0.2879, allocations: 62.55 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.2879, allocations: 20.8 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007045/0.2886, allocations: 0.5869 MB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2887, allocations: 34.56 kB / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2887, allocations: 0 / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006163/0.2893, allocations: 306.3 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2893, allocations: 55.41 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.2894, allocations: 106 kB / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2894, allocations: 33.7 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.2895, allocations: 88.03 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.2895, allocations: 27.64 kB / 0.7902 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.2896, allocations: 25.72 kB / 0.7903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2897, allocations: 310.8 kB / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.2897, allocations: 19.98 kB / 0.7906 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.2898, allocations: 53.08 kB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.2899, allocations: 73.09 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.2899, allocations: 0 / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001663/0.2901, allocations: 97.45 kB / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2901, allocations: 4 kB / 0.7908 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2901, allocations: 4 kB / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2901, allocations: 0 / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.2902, allocations: 23.92 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2902, allocations: 8.062 kB / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.2903, allocations: 12.06 kB / 0.7908 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.2903, allocations: 7.938 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.798e-05/0.2904, allocations: 117.8 kB / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.2904, allocations: 7.984 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.2905, allocations: 7.969 kB / 0.791 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2905, allocations: 0 / 0.791 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2905, allocations: 0 / 0.791 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2905, allocations: 3.938 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.2907, allocations: 169.7 kB / 0.7911 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2907, allocations: 7.938 kB / 0.7911 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.781e-05/0.2908, allocations: 16 kB / 0.7912 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2908, allocations: 0 / 0.7912 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.2909, allocations: 7.984 kB / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2909, allocations: 0 / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2909, allocations: 0 / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.2911, allocations: 179.6 kB / 0.7913 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.2911, allocations: 81.23 kB / 0.7914 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2912, allocations: 11.98 kB / 0.7914 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2913, allocations: 256 / 0.7914 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.2913, allocations: 15.92 kB / 0.7914 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2913, allocations: 4 kB / 0.7915 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.2914, allocations: 79.28 kB / 0.7915 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2914, allocations: 0 / 0.7915 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002502/0.2916, allocations: 16 kB / 0.7915 GB, free: 4.586 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004603/0.2921, allocations: 0.7045 MB / 0.7922 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.2922, allocations: 39.97 kB / 0.7923 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2922, allocations: 4 kB / 0.7923 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.2923, allocations: 19.97 kB / 0.7923 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2926, allocations: 8.875 kB / 0.7923 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.2941, allocations: 1.532 MB / 0.7938 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.2944, allocations: 0.6807 MB / 0.7945 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.065e-05/0.2944, allocations: 15.75 kB / 0.7945 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.2945, allocations: 15.44 kB / 0.7945 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2945, allocations: 4 kB / 0.7945 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.3135, allocations: 1.647 MB / 0.7961 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.187, allocations: 11 kB / 0.7961 GB, free: 15.84 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)