Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_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.001432/0.001438, 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.001447/0.001447, allocations: 196.6 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 1.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6745/0.6745, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.69 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.328, allocations: 80.21 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002118/0.3301, allocations: 1.383 MB / 0.5815 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.3329, allocations: 2.909 MB / 0.5844 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.333, allocations: 4.688 kB / 0.5844 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.901e-05/0.333, allocations: 4.25 kB / 0.5844 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.3332, allocations: 41.86 kB / 0.5844 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.3336, allocations: 187.4 kB / 0.5846 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.3339, allocations: 240.4 kB / 0.5848 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.3339, allocations: 3.734 kB / 0.5848 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.334, allocations: 95.44 kB / 0.5849 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.3342, allocations: 123.2 kB / 0.585 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.3342, allocations: 11 kB / 0.5851 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.3345, allocations: 137.9 kB / 0.5852 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3346, allocations: 93.03 kB / 0.5853 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3348, allocations: 83.8 kB / 0.5854 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.3351, allocations: 278.5 kB / 0.5856 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3351, allocations: 4 kB / 0.5856 GB, free: 1.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3351, allocations: 0 / 0.5856 GB, free: 1.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3351, allocations: 0 / 0.5856 GB, free: 1.008 MB / 430.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.0007122/0.3359, allocations: 0.5203 MB / 0.5861 GB, free: 0.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3359, allocations: 9.688 kB / 0.5861 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.336, allocations: 55.8 kB / 0.5862 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.825e-05/0.3361, allocations: 18.81 kB / 0.5862 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.3363, allocations: 239.8 kB / 0.5864 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.3363, allocations: 33.45 kB / 0.5865 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3363, allocations: 13.03 kB / 0.5865 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.337, allocations: 291.7 kB / 0.5868 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.337, allocations: 3.984 kB / 0.5868 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.337, allocations: 9.922 kB / 0.5868 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.337, allocations: 4.188 kB / 0.5868 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.3385, allocations: 0.7499 MB / 0.5875 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.3389, allocations: 305.2 kB / 0.5878 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.3406, allocations: 0.6763 MB / 0.5885 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.3411, allocations: 226 kB / 0.5887 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003987/0.3415, allocations: 396.4 kB / 0.5891 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3415, allocations: 36.78 kB / 0.5891 GB, free: 15.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.373e-06/0.3416, allocations: 0 / 0.5891 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.00168/0.3432, allocations: 0.6521 MB / 0.5897 GB, free: 15.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3433, allocations: 56.22 kB / 0.5898 GB, free: 15.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.3434, allocations: 127 kB / 0.5899 GB, free: 14.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.3434, allocations: 39.27 kB / 0.5899 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.3435, allocations: 88.47 kB / 0.59 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.3436, allocations: 120.7 kB / 0.5901 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3437, allocations: 66.19 kB / 0.5902 GB, free: 14.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3438, allocations: 329 kB / 0.5905 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.3443, allocations: 194 kB / 0.5907 GB, free: 14.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.3448, allocations: 204.5 kB / 0.5909 GB, free: 14.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009199/0.3457, allocations: 358.6 kB / 0.5912 GB, free: 14.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3458, allocations: 1.219 kB / 0.5912 GB, free: 14.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001099/0.3469, allocations: 473.6 kB / 0.5917 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3469, allocations: 6.656 kB / 0.5917 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3469, allocations: 0 / 0.5917 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3469, allocations: 5.375 kB / 0.5917 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.3473, allocations: 95.8 kB / 0.5918 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3473, allocations: 0.75 kB / 0.5918 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3475, allocations: 52.91 kB / 0.5918 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.3475, allocations: 16.81 kB / 0.5919 GB, free: 14.06 MB / 446.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.0001191/0.3476, allocations: 144.2 kB / 0.592 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.3477, allocations: 21.28 kB / 0.592 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.3489, allocations: 0.5004 MB / 0.5925 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3489, allocations: 7.891 kB / 0.5925 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3489, allocations: 5.594 kB / 0.5925 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.3489, allocations: 1.922 kB / 0.5925 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.3492, allocations: 313.7 kB / 0.5928 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3492, allocations: 3.938 kB / 0.5928 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.3496, allocations: 99.06 kB / 0.5929 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.3496, allocations: 5.078 kB / 0.5929 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.3496, allocations: 10.61 kB / 0.5929 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3496, allocations: 1.641 kB / 0.5929 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3496, allocations: 1.406 kB / 0.5929 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.3507, allocations: 0.5003 MB / 0.5934 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.3508, allocations: 101.9 kB / 0.5935 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.3508, allocations: 6.656 kB / 0.5935 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.351, allocations: 38.95 kB / 0.5936 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.3512, allocations: 115.5 kB / 0.5937 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.3512, allocations: 16.36 kB / 0.5937 GB, free: 13.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.3513, allocations: 95.86 kB / 0.5938 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3513, allocations: 0 / 0.5938 GB, free: 12.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.3517, allocations: 120.8 kB / 0.5939 GB, free: 12.95 MB / 446.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.001541/0.3533, allocations: 1.12 MB / 0.595 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3544, allocations: 0.5535 MB / 0.5955 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3544, allocations: 0 / 0.5955 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.355, allocations: 259.8 kB / 0.5958 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.3554, allocations: 86.59 kB / 0.5959 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.3592, allocations: 2.663 MB / 0.5985 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3595, allocations: 0.7296 MB / 0.5992 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003961/0.3599, allocations: 181.4 kB / 0.5994 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.36, allocations: 68.36 kB / 0.5994 GB, free: 9.125 MB / 446.1 MB Notification: Performance of SimCode: time 1.443e-06/0.36, allocations: 0 / 0.5994 GB, free: 9.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2699/0.6299, allocations: 7.346 MB / 0.6066 GB, free: 5.512 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.781, allocations: 5.797 kB / 0.6066 GB, free: 5.512 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)