Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_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.001441/0.001441, allocations: 99.86 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.0021/0.0021, allocations: 177.3 kB / 15.94 MB, free: 228 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.299/2.299, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.709/1.709, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.00056, allocations: 8 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2775, allocations: 82.32 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002427/0.28, allocations: 1.058 MB / 0.5883 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006277/0.2863, allocations: 2.569 MB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.2865, allocations: 0 / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2867, allocations: 7.922 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.2868, allocations: 23.94 kB / 0.5908 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.2878, allocations: 159.5 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.2882, allocations: 147.8 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.621e-05/0.2883, allocations: 3.984 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.2885, allocations: 79.88 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.2888, allocations: 107.8 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.2889, allocations: 12 kB / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007408/0.2896, allocations: 159.8 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.2898, allocations: 79.86 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.818e-05/0.2899, allocations: 53.62 kB / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.2904, allocations: 191.8 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2904, allocations: 0 / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2904, allocations: 0 / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.2905, allocations: 4 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB 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.001477/0.2919, allocations: 0.5144 MB / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.956e-05/0.292, allocations: 12.03 kB / 0.5923 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.2922, allocations: 54.55 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.2924, allocations: 19.77 kB / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.2929, allocations: 238.7 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-05/0.293, allocations: 23.98 kB / 0.5926 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/0.2931, allocations: 19.94 kB / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.2944, allocations: 319 kB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.2944, allocations: 3.938 kB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.2945, allocations: 8 kB / 0.593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.2945, allocations: 4 kB / 0.593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.2969, allocations: 0.8038 MB / 0.5938 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.2976, allocations: 309 kB / 0.594 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.3005, allocations: 0.7775 MB / 0.5948 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.3011, allocations: 396.2 kB / 0.5952 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.3012, allocations: 38.56 kB / 0.5952 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 3.356e-06/0.3012, allocations: 0 / 0.5952 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.002882/0.3041, allocations: 0.7357 MB / 0.5959 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3042, allocations: 55.41 kB / 0.596 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3044, allocations: 125.2 kB / 0.5961 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.3044, allocations: 33.7 kB / 0.5961 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.3045, allocations: 92.8 kB / 0.5962 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.3047, allocations: 134 kB / 0.5964 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.3048, allocations: 4 kB / 0.5964 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3049, allocations: 334.8 kB / 0.5967 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009389/0.3059, allocations: 219.8 kB / 0.5969 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/0.3068, allocations: 229 kB / 0.5971 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.3076, allocations: 208 kB / 0.5973 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3076, allocations: 0 / 0.5973 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001932/0.3096, allocations: 0.5048 MB / 0.5978 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.3096, allocations: 8 kB / 0.5978 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3096, allocations: 0 / 0.5978 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.3097, allocations: 0 / 0.5978 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/0.3104, allocations: 111.8 kB / 0.5979 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.3104, allocations: 4 kB / 0.5979 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.3108, allocations: 59.81 kB / 0.598 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.3109, allocations: 15.98 kB / 0.598 GB, free: 7.734 MB / 0.4981 GB 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.0002302/0.3111, allocations: 145.7 kB / 0.5981 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.3112, allocations: 15.81 kB / 0.5981 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.3135, allocations: 0.5796 MB / 0.5987 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3135, allocations: 4 kB / 0.5987 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3135, allocations: 0 / 0.5987 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3135, allocations: 3.984 kB / 0.5987 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.3141, allocations: 317.3 kB / 0.599 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3141, allocations: 7.938 kB / 0.599 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/0.3147, allocations: 103.9 kB / 0.5991 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/0.3147, allocations: 7.984 kB / 0.5991 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.3148, allocations: 15.98 kB / 0.5992 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.3148, allocations: 4 kB / 0.5992 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3148, allocations: 3.938 kB / 0.5992 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.3167, allocations: 0.5432 MB / 0.5997 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.3168, allocations: 100.8 kB / 0.5998 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.3169, allocations: 4 kB / 0.5998 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.3172, allocations: 51.95 kB / 0.5998 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/0.3176, allocations: 115.8 kB / 0.6 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.3177, allocations: 15.98 kB / 0.6 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001098/0.3178, allocations: 99.27 kB / 0.6001 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3178, allocations: 0 / 0.6001 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007182/0.3185, allocations: 115.9 kB / 0.6002 GB, free: 5.406 MB / 0.4981 GB 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.002805/0.3213, allocations: 1.174 MB / 0.6013 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.3235, allocations: 0.511 MB / 0.6018 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.3235, allocations: 8 kB / 0.6018 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3246, allocations: 288.3 kB / 0.6021 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.3253, allocations: 67.92 kB / 0.6022 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.3306, allocations: 1.598 MB / 0.6037 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.3311, allocations: 0.737 MB / 0.6044 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008532/0.3319, allocations: 185 kB / 0.6046 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.3322, allocations: 59.41 kB / 0.6047 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.3322, allocations: 4 kB / 0.6047 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4676/0.7999, allocations: 6.615 MB / 0.6111 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.8001, allocations: 177.9 kB / 0.6113 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/3.896, allocations: 4 kB / 0.6113 GB, free: 48.8 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) Environment - environmentSimulation: