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.001197/0.001197, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001202/0.001202, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.252/2.252, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.166/1.166, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.000424, allocations: 8 kB / 0.5033 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7635, allocations: 81.58 MB / 0.583 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001798/0.7654, allocations: 1.07 MB / 0.584 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.7692, allocations: 2.582 MB / 0.5865 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.7693, allocations: 3.938 kB / 0.5865 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.7694, allocations: 4.031 kB / 0.5865 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.7695, allocations: 17.58 kB / 0.5866 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.7701, allocations: 159.7 kB / 0.5867 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.7704, allocations: 152 kB / 0.5869 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.7704, allocations: 7.312 kB / 0.5869 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.7706, allocations: 80.7 kB / 0.5869 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.7708, allocations: 100.1 kB / 0.587 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.7708, allocations: 11.12 kB / 0.587 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.7714, allocations: 165.2 kB / 0.5872 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.7715, allocations: 80.02 kB / 0.5873 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.7716, allocations: 52.95 kB / 0.5873 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.772, allocations: 193.5 kB / 0.5875 GB, free: 1.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.772, allocations: 1.375 kB / 0.5875 GB, free: 1.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.7721, allocations: 0 / 0.5875 GB, free: 1.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.7721, allocations: 0 / 0.5875 GB, free: 1.039 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.0009653/0.773, allocations: 0.5159 MB / 0.588 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.7731, allocations: 13.41 kB / 0.588 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/0.7732, allocations: 55.38 kB / 0.5881 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.7733, allocations: 21.83 kB / 0.5881 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.7736, allocations: 232.5 kB / 0.5883 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.7737, allocations: 22.39 kB / 0.5883 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.7738, allocations: 18.47 kB / 0.5884 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009139/0.7747, allocations: 311.4 kB / 0.5887 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.7747, allocations: 4 kB / 0.5887 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.7748, allocations: 6.625 kB / 0.5887 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.7748, allocations: 3.562 kB / 0.5887 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.777, allocations: 0.8078 MB / 0.5895 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.7776, allocations: 317.9 kB / 0.5898 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.78, allocations: 0.7782 MB / 0.5905 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005831/0.7806, allocations: 392.3 kB / 0.5909 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.7807, allocations: 36.97 kB / 0.5909 GB, free: 15.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 3.547e-06/0.7807, allocations: 0 / 0.5909 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.002303/0.783, allocations: 0.7328 MB / 0.5916 GB, free: 15.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.783, allocations: 55.2 kB / 0.5917 GB, free: 15.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.7832, allocations: 124.2 kB / 0.5918 GB, free: 14.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.7832, allocations: 31.08 kB / 0.5919 GB, free: 14.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.7833, allocations: 96.7 kB / 0.5919 GB, free: 14.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.7835, allocations: 132.1 kB / 0.5921 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.7835, allocations: 5.375 kB / 0.5921 GB, free: 14.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7837, allocations: 333.3 kB / 0.5924 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.7844, allocations: 219.6 kB / 0.5926 GB, free: 14.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.785, allocations: 232.3 kB / 0.5928 GB, free: 14.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.7857, allocations: 201.3 kB / 0.593 GB, free: 14.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7857, allocations: 0.5156 kB / 0.593 GB, free: 14.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001433/0.7871, allocations: 0.5069 MB / 0.5935 GB, free: 14.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.7872, allocations: 5.625 kB / 0.5935 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.7872, allocations: 0.6562 kB / 0.5935 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.7872, allocations: 1.031 kB / 0.5935 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.7877, allocations: 113.8 kB / 0.5936 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.7877, allocations: 0.7031 kB / 0.5936 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.788, allocations: 65.55 kB / 0.5937 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.788, allocations: 10.33 kB / 0.5937 GB, free: 14.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.7882, allocations: 146.6 kB / 0.5938 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.7883, allocations: 17.19 kB / 0.5939 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.7899, allocations: 0.5838 MB / 0.5944 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.7899, allocations: 3.875 kB / 0.5944 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7899, allocations: 0 / 0.5944 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.7899, allocations: 2.156 kB / 0.5944 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.7904, allocations: 310.4 kB / 0.5947 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.7904, allocations: 0 / 0.5947 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.7908, allocations: 118.9 kB / 0.5948 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.7908, allocations: 2.094 kB / 0.5948 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.7909, allocations: 15.03 kB / 0.5949 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.7909, allocations: 6.5 kB / 0.5949 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7909, allocations: 0 / 0.5949 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.7924, allocations: 0.5427 MB / 0.5954 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.7925, allocations: 95.64 kB / 0.5955 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.7925, allocations: 6.125 kB / 0.5955 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.7928, allocations: 52.66 kB / 0.5955 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.7931, allocations: 120 kB / 0.5957 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.7931, allocations: 17.55 kB / 0.5957 GB, free: 13.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.87e-05/0.7932, allocations: 105.5 kB / 0.5958 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7932, allocations: 0 / 0.5958 GB, free: 13.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005612/0.7938, allocations: 114.2 kB / 0.5959 GB, free: 13.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002055/0.7959, allocations: 1.176 MB / 0.597 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.7973, allocations: 0.5112 MB / 0.5975 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7973, allocations: 1 kB / 0.5975 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.798, allocations: 293.1 kB / 0.5978 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.7985, allocations: 73.95 kB / 0.5979 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.802, allocations: 1.59 MB / 0.5994 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.8024, allocations: 0.7346 MB / 0.6001 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005425/0.8029, allocations: 190.3 kB / 0.6003 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.8031, allocations: 67.03 kB / 0.6004 GB, free: 10.25 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8031, allocations: 3.938 kB / 0.6004 GB, free: 10.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.833, allocations: 6.59 MB / 0.6068 GB, free: 7.137 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.8332, allocations: 170.1 kB / 0.607 GB, free: 6.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/4.011, allocations: 3.938 kB / 0.607 GB, free: 6.898 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/linux/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) Environment - environmentSimulation: