Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001959/0.001959, allocations: 108 kB / 15.61 MB, free: 152 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.002504/0.002504, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.691/2.691, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004262/0.004262, allocations: 271 kB / 290.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.89/1.89, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003787/0.003787, allocations: 95.41 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3099, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.005133/0.3151, allocations: 1.252 MB / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.3223, allocations: 2.928 MB / 0.6844 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.3225, allocations: 0 / 0.6844 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.3226, allocations: 4 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.3227, allocations: 3.938 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.3237, allocations: 103.5 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3238, allocations: 35.84 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.3239, allocations: 4 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009554/0.3249, allocations: 163.7 kB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.325, allocations: 19.91 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.325, allocations: 4 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.3254, allocations: 55.89 kB / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.3254, allocations: 15.97 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.3255, allocations: 15.94 kB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.3258, allocations: 59.86 kB / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-05/0.3258, allocations: 4 kB / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3258, allocations: 0 / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3259, allocations: 0 / 0.6848 GB, free: 11.92 MB / 494.1 MB 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.0006492/0.3265, allocations: 347.4 kB / 0.6852 GB, free: 11.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.3266, allocations: 11.97 kB / 0.6852 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.3267, allocations: 34.75 kB / 0.6852 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.3267, allocations: 8.938 kB / 0.6852 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.3269, allocations: 164.4 kB / 0.6854 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.327, allocations: 4.375 kB / 0.6854 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.327, allocations: 8.375 kB / 0.6854 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.3273, allocations: 53.61 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3273, allocations: 3.938 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3274, allocations: 4 kB / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3274, allocations: 0 / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3275, allocations: 19.92 kB / 0.6855 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.3278, allocations: 169.7 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.328, allocations: 54.55 kB / 0.6857 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.3281, allocations: 16.86 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.3293, allocations: 0.5986 MB / 0.6863 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.3293, allocations: 38.56 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.354e-06/0.3293, allocations: 0 / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001011/0.3304, allocations: 294.2 kB / 0.6866 GB, free: 9.781 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.3305, allocations: 55.41 kB / 0.6866 GB, free: 9.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3306, allocations: 105.7 kB / 0.6867 GB, free: 9.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3307, allocations: 29.7 kB / 0.6868 GB, free: 9.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.3307, allocations: 84.05 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.3308, allocations: 35.62 kB / 0.6869 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.3309, allocations: 29.7 kB / 0.6869 GB, free: 9.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3311, allocations: 310.8 kB / 0.6872 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.3312, allocations: 15.98 kB / 0.6872 GB, free: 9.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3313, allocations: 53.14 kB / 0.6873 GB, free: 9.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.3315, allocations: 77.03 kB / 0.6873 GB, free: 8.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3315, allocations: 0 / 0.6873 GB, free: 8.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002753/0.3318, allocations: 89.55 kB / 0.6874 GB, free: 8.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.3318, allocations: 8.125 kB / 0.6874 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3319, allocations: 4 kB / 0.6874 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.3319, allocations: 0 / 0.6874 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.332, allocations: 23.98 kB / 0.6875 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3321, allocations: 0 / 0.6875 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.3322, allocations: 11.94 kB / 0.6875 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3322, allocations: 4 kB / 0.6875 GB, free: 8.773 MB / 494.1 MB 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 0.0001329/0.3323, allocations: 115.1 kB / 0.6876 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.3324, allocations: 7.906 kB / 0.6876 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.3325, allocations: 15.95 kB / 0.6876 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3325, allocations: 4 kB / 0.6876 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3325, allocations: 0 / 0.6876 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.3325, allocations: 3.938 kB / 0.6876 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.333, allocations: 169.7 kB / 0.6878 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.333, allocations: 0 / 0.6878 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.3332, allocations: 16.44 kB / 0.6878 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3332, allocations: 0 / 0.6878 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3332, allocations: 0 / 0.6878 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.3333, allocations: 19.86 kB / 0.6878 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3333, allocations: 0 / 0.6878 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.3336, allocations: 175.6 kB / 0.688 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.231e-05/0.3337, allocations: 85.23 kB / 0.6881 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3337, allocations: 3.984 kB / 0.6881 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.334, allocations: 8 kB / 0.6881 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.334, allocations: 11.91 kB / 0.6881 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.334, allocations: 4 kB / 0.6881 GB, free: 8.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.484e-05/0.3341, allocations: 75.28 kB / 0.6882 GB, free: 7.984 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3341, allocations: 4 kB / 0.6882 GB, free: 7.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005055/0.3346, allocations: 16 kB / 0.6882 GB, free: 7.965 MB / 494.1 MB 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.0007831/0.3354, allocations: 0.7045 MB / 0.6889 GB, free: 7.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3356, allocations: 44.16 kB / 0.6889 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3357, allocations: 4.062 kB / 0.6889 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.891e-05/0.3357, allocations: 23.92 kB / 0.6889 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.3363, allocations: 11.94 kB / 0.689 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.3389, allocations: 1.52 MB / 0.6904 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.3393, allocations: 0.6807 MB / 0.6911 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.3395, allocations: 11.98 kB / 0.6911 GB, free: 4.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.3395, allocations: 19.42 kB / 0.6911 GB, free: 4.781 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3396, allocations: 0 / 0.6911 GB, free: 4.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.368, allocations: 1.66 MB / 0.6928 GB, free: 3.246 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.998/10.37, allocations: 11.94 kB / 0.6928 GB, free: 3.234 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)