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.001071/0.001071, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001336/0.001336, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.97/0.97, allocations: 135.3 MB / 426.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 9.031 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2087, allocations: 82.31 MB / 0.5875 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001579/0.2103, allocations: 1.081 MB / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.2142, allocations: 2.74 MB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.2143, allocations: 0 / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.2144, allocations: 11.92 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2145, allocations: 31.88 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.215, allocations: 159.3 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.2152, allocations: 271.4 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.2153, allocations: 8 kB / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.2154, allocations: 91.84 kB / 0.5917 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.2156, allocations: 143.7 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.2156, allocations: 8 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.216, allocations: 155.8 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.505e-05/0.2161, allocations: 91.81 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.2162, allocations: 53.64 kB / 0.5922 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.2164, allocations: 187.8 kB / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2165, allocations: 0 / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2165, allocations: 4 kB / 0.5923 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2165, allocations: 0 / 0.5923 GB, free: 13.84 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.0008055/0.2173, allocations: 0.5183 MB / 0.5929 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2173, allocations: 12.03 kB / 0.5929 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.2174, allocations: 54.55 kB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2175, allocations: 19.77 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.2178, allocations: 234.7 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.2179, allocations: 23.98 kB / 0.5932 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.2179, allocations: 20 kB / 0.5932 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.2185, allocations: 317.1 kB / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2186, allocations: 4 kB / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.2186, allocations: 8 kB / 0.5935 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2186, allocations: 0 / 0.5935 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.22, allocations: 0.8076 MB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.2204, allocations: 313 kB / 0.5946 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.222, allocations: 0.7738 MB / 0.5954 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.2225, allocations: 260.7 kB / 0.5956 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.2229, allocations: 392.3 kB / 0.596 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.223, allocations: 34.5 kB / 0.596 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/0.223, allocations: 3.938 kB / 0.596 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001551/0.2245, allocations: 0.7343 MB / 0.5967 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.2246, allocations: 59.41 kB / 0.5968 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2247, allocations: 129.7 kB / 0.5969 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2247, allocations: 33.7 kB / 0.5969 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.2248, allocations: 88.78 kB / 0.597 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.2249, allocations: 130 kB / 0.5972 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.2249, allocations: 8 kB / 0.5972 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2251, allocations: 330.8 kB / 0.5975 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.2255, allocations: 223.8 kB / 0.5977 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.226, allocations: 235.8 kB / 0.5979 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.2264, allocations: 207.6 kB / 0.5981 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.2264, allocations: 4 kB / 0.5981 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009992/0.2274, allocations: 0.4937 MB / 0.5986 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.2275, allocations: 11.98 kB / 0.5986 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2275, allocations: 0 / 0.5986 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2275, allocations: 4 kB / 0.5986 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.2279, allocations: 107.9 kB / 0.5987 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2279, allocations: 7.984 kB / 0.5987 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.2281, allocations: 59.8 kB / 0.5988 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.2281, allocations: 15.98 kB / 0.5988 GB, free: 6.934 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.000148/0.2283, allocations: 145.7 kB / 0.5989 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.2283, allocations: 15.81 kB / 0.599 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.2295, allocations: 0.579 MB / 0.5995 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.2295, allocations: 4 kB / 0.5995 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2295, allocations: 3.984 kB / 0.5995 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2296, allocations: 0 / 0.5995 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.2299, allocations: 317.3 kB / 0.5998 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2299, allocations: 0 / 0.5998 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.2302, allocations: 115.8 kB / 0.5999 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2303, allocations: 3.938 kB / 0.5999 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.2303, allocations: 8 kB / 0.6 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2303, allocations: 4 kB / 0.6 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2303, allocations: 3.984 kB / 0.6 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2314, allocations: 0.5396 MB / 0.6005 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.2314, allocations: 100.7 kB / 0.6006 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.2315, allocations: 11.98 kB / 0.6006 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.2317, allocations: 51.97 kB / 0.6006 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.2319, allocations: 119.5 kB / 0.6008 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.2319, allocations: 11.98 kB / 0.6008 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.527e-05/0.232, allocations: 99.27 kB / 0.6009 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.232, allocations: 0 / 0.6009 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004294/0.2325, allocations: 119.9 kB / 0.601 GB, free: 4.605 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.001654/0.2341, allocations: 1.174 MB / 0.6021 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.2352, allocations: 0.515 MB / 0.6026 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2352, allocations: 4 kB / 0.6026 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005399/0.2357, allocations: 292 kB / 0.6029 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.2362, allocations: 67.94 kB / 0.603 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.2391, allocations: 1.597 MB / 0.6045 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.2396, allocations: 0.7292 MB / 0.6052 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.3393/0.579, allocations: 179.9 kB / 0.6054 GB, free: 49.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.5792, allocations: 64.84 kB / 0.6055 GB, free: 49.26 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/0.5792, allocations: 0.5938 kB / 0.6055 GB, free: 49.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.597, allocations: 6.652 MB / 0.612 GB, free: 48.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.5972, allocations: 182 kB / 0.6122 GB, free: 48.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.564, allocations: 0 / 0.6122 GB, free: 48.66 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: