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: translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001603, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001946/0.001946, allocations: 195.1 kB / 16.25 MB, free: 6.645 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9996/0.9996, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 60.53 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1998, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002667/0.2025, allocations: 1.439 MB / 0.5853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.2059, allocations: 2.89 MB / 0.5881 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.2059, allocations: 0 / 0.5881 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.524e-05/0.2061, allocations: 7.922 kB / 0.5881 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2062, allocations: 39.81 kB / 0.5881 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.2068, allocations: 171.3 kB / 0.5883 GB, free: 340 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.207, allocations: 239.5 kB / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.2071, allocations: 8 kB / 0.5885 GB, free: 92 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/0.2072, allocations: 87.84 kB / 0.5886 GB, free: 4 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2073, allocations: 139.7 kB / 0.5888 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.2074, allocations: 8 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.2077, allocations: 147.8 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.2078, allocations: 95.77 kB / 0.589 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.2079, allocations: 83.64 kB / 0.5891 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.2083, allocations: 279.5 kB / 0.5894 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2083, allocations: 0 / 0.5894 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2083, allocations: 0 / 0.5894 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2083, allocations: 0 / 0.5894 GB, free: 15.27 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.0008273/0.2091, allocations: 0.5261 MB / 0.5899 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2092, allocations: 8.031 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.2093, allocations: 20.73 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.2096, allocations: 244 kB / 0.5901 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.2096, allocations: 24.36 kB / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.2097, allocations: 12.38 kB / 0.5902 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006279/0.2103, allocations: 301.1 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2103, allocations: 0 / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.2104, allocations: 11.98 kB / 0.5905 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2104, allocations: 0 / 0.5905 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.2118, allocations: 0.7491 MB / 0.5912 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.2121, allocations: 309 kB / 0.5915 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.2137, allocations: 0.6722 MB / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.2142, allocations: 228.7 kB / 0.5924 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/0.2146, allocations: 392.3 kB / 0.5927 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2147, allocations: 46.44 kB / 0.5928 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.2147, allocations: 0 / 0.5928 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001554/0.2162, allocations: 0.6483 MB / 0.5934 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.2163, allocations: 59.41 kB / 0.5935 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2164, allocations: 122.1 kB / 0.5936 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.2164, allocations: 33.7 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.2165, allocations: 88.78 kB / 0.5937 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.2166, allocations: 130.1 kB / 0.5938 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/0.2167, allocations: 65.67 kB / 0.5939 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2168, allocations: 326.8 kB / 0.5942 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.2173, allocations: 195.8 kB / 0.5944 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.2178, allocations: 199.9 kB / 0.5946 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.2186, allocations: 364.8 kB / 0.5949 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2186, allocations: 4 kB / 0.5949 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001008/0.2196, allocations: 468.3 kB / 0.5954 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2197, allocations: 6.5 kB / 0.5954 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2197, allocations: 3.984 kB / 0.5954 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2197, allocations: 4 kB / 0.5954 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.22, allocations: 95.86 kB / 0.5955 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2201, allocations: 0 / 0.5955 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.2202, allocations: 51.8 kB / 0.5955 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.2203, allocations: 11.98 kB / 0.5955 GB, free: 8.625 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.2204, allocations: 137.8 kB / 0.5957 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.2205, allocations: 19.75 kB / 0.5957 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.2216, allocations: 0.5132 MB / 0.5962 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2216, allocations: 4 kB / 0.5962 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2216, allocations: 0 / 0.5962 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2216, allocations: 7.922 kB / 0.5962 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.222, allocations: 321.2 kB / 0.5965 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.222, allocations: 3.938 kB / 0.5965 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.2223, allocations: 103.8 kB / 0.5966 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2223, allocations: 7.984 kB / 0.5966 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.2223, allocations: 8 kB / 0.5966 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2223, allocations: 0 / 0.5966 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2224, allocations: 0 / 0.5966 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2234, allocations: 0.4965 MB / 0.5971 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.2234, allocations: 96.8 kB / 0.5972 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.2235, allocations: 15.98 kB / 0.5972 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.2237, allocations: 31.97 kB / 0.5973 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.2239, allocations: 119.8 kB / 0.5974 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.2239, allocations: 12 kB / 0.5974 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.224, allocations: 110 kB / 0.5975 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.224, allocations: 0 / 0.5975 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003845/0.2244, allocations: 111.9 kB / 0.5976 GB, free: 6.434 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 (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.0003658/0.2248, allocations: 183.1 kB / 0.5978 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.226, allocations: 0.5578 MB / 0.5983 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.226, allocations: 0 / 0.5983 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.2265, allocations: 256.6 kB / 0.5986 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.227, allocations: 75.92 kB / 0.5986 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.2278, allocations: 0.4911 MB / 0.5991 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.2281, allocations: 0.7289 MB / 0.5998 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004049/0.2285, allocations: 185.8 kB / 0.6 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/0.2286, allocations: 39.42 kB / 0.6 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.2286, allocations: 0 / 0.6 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.3394/0.568, allocations: 5.046 MB / 0.605 GB, free: 53.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (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 & ./IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)