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.002129/0.002129, allocations: 108 kB / 15.6 MB, free: 132 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.001935/0.001935, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.021/2.021, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 291 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.55/1.55, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003711/0.003711, allocations: 93.95 kB / 0.5953 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2582, allocations: 86.99 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.005222/0.2635, allocations: 1.377 MB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007046/0.2706, allocations: 2.9 MB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.2707, allocations: 0 / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2709, allocations: 7.922 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.2711, allocations: 43.81 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.2722, allocations: 187.4 kB / 0.6847 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00047/0.2727, allocations: 243.5 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.23e-05/0.2728, allocations: 7.938 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.273, allocations: 87.89 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.2733, allocations: 131.7 kB / 0.6851 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.2734, allocations: 12 kB / 0.6851 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000666/0.2741, allocations: 139.9 kB / 0.6853 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.2743, allocations: 87.81 kB / 0.6854 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.2745, allocations: 95.58 kB / 0.6855 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.2752, allocations: 263.3 kB / 0.6857 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2752, allocations: 0 / 0.6857 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2753, allocations: 0 / 0.6857 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.2753, allocations: 0 / 0.6857 GB, free: 11.02 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001529/0.2768, allocations: 0.5414 MB / 0.6862 GB, free: 10.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.2769, allocations: 8.031 kB / 0.6862 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.712e-05/0.277, allocations: 50.75 kB / 0.6863 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.2772, allocations: 20.73 kB / 0.6863 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.2776, allocations: 228.1 kB / 0.6865 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.249e-05/0.2777, allocations: 32.34 kB / 0.6866 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.2778, allocations: 20.3 kB / 0.6866 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2791, allocations: 290 kB / 0.6869 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2792, allocations: 0 / 0.6869 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.2792, allocations: 4 kB / 0.6869 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.2792, allocations: 4 kB / 0.6869 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.2824, allocations: 0.7488 MB / 0.6876 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.283, allocations: 305.3 kB / 0.6879 GB, free: 8.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/0.2866, allocations: 0.6903 MB / 0.6886 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.2877, allocations: 232.7 kB / 0.6888 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/0.2884, allocations: 388.3 kB / 0.6892 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.2885, allocations: 31.5 kB / 0.6892 GB, free: 7.211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 3.587e-06/0.2885, allocations: 4 kB / 0.6892 GB, free: 7.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.003458/0.2919, allocations: 0.6488 MB / 0.6898 GB, free: 6.551 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.292, allocations: 59.34 kB / 0.6899 GB, free: 6.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.2922, allocations: 128.8 kB / 0.69 GB, free: 6.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.2923, allocations: 29.7 kB / 0.69 GB, free: 6.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.2924, allocations: 92.78 kB / 0.6901 GB, free: 6.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.2926, allocations: 126.1 kB / 0.6902 GB, free: 6.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.2928, allocations: 65.67 kB / 0.6903 GB, free: 6.023 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.293, allocations: 342.7 kB / 0.6906 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.294, allocations: 191.8 kB / 0.6908 GB, free: 5.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.2951, allocations: 204.8 kB / 0.691 GB, free: 5.293 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.2971, allocations: 360.7 kB / 0.6913 GB, free: 4.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2971, allocations: 0 / 0.6913 GB, free: 4.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002369/0.2995, allocations: 464.6 kB / 0.6918 GB, free: 4.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.2996, allocations: 11.98 kB / 0.6918 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2996, allocations: 0 / 0.6918 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.2996, allocations: 0 / 0.6918 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.3004, allocations: 91.86 kB / 0.6919 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.3004, allocations: 4 kB / 0.6919 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.3008, allocations: 51.8 kB / 0.6919 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.3009, allocations: 11.98 kB / 0.692 GB, free: 4.309 MB / 494.1 MB 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.0002348/0.3012, allocations: 143.1 kB / 0.6921 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.3013, allocations: 19.75 kB / 0.6921 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.3038, allocations: 0.5163 MB / 0.6926 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3038, allocations: 7.984 kB / 0.6926 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3038, allocations: 0 / 0.6926 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.3039, allocations: 3.984 kB / 0.6926 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.3045, allocations: 325.2 kB / 0.6929 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3045, allocations: 3.938 kB / 0.6929 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007471/0.3053, allocations: 95.84 kB / 0.693 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3053, allocations: 0 / 0.693 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.3054, allocations: 12 kB / 0.693 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.3054, allocations: 4 kB / 0.693 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.3054, allocations: 3.984 kB / 0.693 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.3077, allocations: 0.4889 MB / 0.6935 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.3078, allocations: 100.8 kB / 0.6936 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.3079, allocations: 7.984 kB / 0.6936 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.3083, allocations: 35.91 kB / 0.6937 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004682/0.3088, allocations: 119.8 kB / 0.6938 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.3088, allocations: 12 kB / 0.6938 GB, free: 2.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.3089, allocations: 99.25 kB / 0.6939 GB, free: 2.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.309, allocations: 0 / 0.6939 GB, free: 2.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007497/0.3097, allocations: 119.9 kB / 0.694 GB, free: 2.113 MB / 494.1 MB 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.003255/0.313, allocations: 1.119 MB / 0.6951 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002555/0.3156, allocations: 0.5621 MB / 0.6956 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3156, allocations: 4 kB / 0.6956 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.3168, allocations: 259.4 kB / 0.6959 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000805/0.3176, allocations: 75.92 kB / 0.696 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/0.3259, allocations: 2.664 MB / 0.6986 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.3264, allocations: 0.7289 MB / 0.6993 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009053/0.3273, allocations: 184 kB / 0.6995 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.3276, allocations: 63.41 kB / 0.6995 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of SimCode: time 3.897e-06/0.3276, allocations: 4 kB / 0.6995 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04664/0.3743, allocations: 7.389 MB / 0.7067 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.23, allocations: 11.86 kB / 0.7067 GB, free: 5.145 MB / 0.4981 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)