Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002375/0.002375, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9914/0.9914, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002289, allocations: 55.97 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2122, allocations: 80.93 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003069/0.2153, allocations: 1.313 MB / 0.5852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.2203, allocations: 2.905 MB / 0.588 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.2204, allocations: 0 / 0.588 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.2205, allocations: 0 / 0.588 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.2206, allocations: 11.91 kB / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.2213, allocations: 83.69 kB / 0.5881 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2215, allocations: 43.84 kB / 0.5881 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.2215, allocations: 4 kB / 0.5881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006661/0.2222, allocations: 147.6 kB / 0.5883 GB, free: 372 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.2223, allocations: 19.92 kB / 0.5883 GB, free: 352 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.2223, allocations: 0 / 0.5883 GB, free: 352 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2225, allocations: 71.8 kB / 0.5884 GB, free: 280 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.2225, allocations: 4 kB / 0.5884 GB, free: 276 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.985e-05/0.2226, allocations: 23.92 kB / 0.5884 GB, free: 252 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.2229, allocations: 60.08 kB / 0.5884 GB, free: 192 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2229, allocations: 0 / 0.5884 GB, free: 192 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2229, allocations: 4 kB / 0.5885 GB, free: 188 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.495e-06/0.2229, allocations: 0 / 0.5885 GB, free: 188 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005541/0.2235, allocations: 347.6 kB / 0.5888 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2235, allocations: 8.031 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.2236, allocations: 4.938 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2237, allocations: 168.3 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2237, allocations: 4.375 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.2238, allocations: 8.281 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.224, allocations: 65.78 kB / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.224, allocations: 0 / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.224, allocations: 7.938 kB / 0.589 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.224, allocations: 0 / 0.589 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.983e-05/0.2241, allocations: 11.98 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.2243, allocations: 169.6 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.2244, allocations: 58.5 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.2245, allocations: 20.84 kB / 0.5893 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009152/0.2254, allocations: 0.5908 MB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2254, allocations: 34.56 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2255, allocations: 0 / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006812/0.2261, allocations: 306.4 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.2262, allocations: 55.41 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.2263, allocations: 101.8 kB / 0.5903 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2263, allocations: 29.7 kB / 0.5904 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.2264, allocations: 84.05 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.2264, allocations: 31.58 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.2265, allocations: 25.72 kB / 0.5905 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.2267, allocations: 322.8 kB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.2267, allocations: 8 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/0.2268, allocations: 57.14 kB / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.758e-05/0.2269, allocations: 73.08 kB / 0.5909 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2269, allocations: 4 kB / 0.5909 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001686/0.2271, allocations: 93.45 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.2271, allocations: 4 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.2271, allocations: 11.88 kB / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2271, allocations: 0 / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.2272, allocations: 20 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2272, allocations: 4 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.2273, allocations: 4.062 kB / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2273, allocations: 11.98 kB / 0.5911 GB, free: 13.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001797/0.2275, allocations: 117.8 kB / 0.5912 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.2275, allocations: 4 kB / 0.5912 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.2276, allocations: 7.969 kB / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2276, allocations: 0 / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2276, allocations: 0 / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2276, allocations: 3.938 kB / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.2279, allocations: 173.7 kB / 0.5914 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2279, allocations: 0 / 0.5914 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/0.228, allocations: 23.98 kB / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.228, allocations: 0 / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.228, allocations: 448 / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.228, allocations: 0 / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.228, allocations: 4 kB / 0.5914 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.2282, allocations: 183.3 kB / 0.5916 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.2283, allocations: 77.48 kB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.2283, allocations: 4 kB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2284, allocations: 8.047 kB / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.2285, allocations: 7.984 kB / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2285, allocations: 7.922 kB / 0.5917 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.2285, allocations: 79.28 kB / 0.5918 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2285, allocations: 0 / 0.5918 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000244/0.2288, allocations: 16 kB / 0.5918 GB, free: 12.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001836/0.229, allocations: 103.2 kB / 0.5919 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.2291, allocations: 43.92 kB / 0.5919 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.2292, allocations: 0 / 0.5919 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.2292, allocations: 23.88 kB / 0.5919 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.2295, allocations: 8 kB / 0.5919 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007215/0.2303, allocations: 334.6 kB / 0.5923 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.2307, allocations: 0.6846 MB / 0.5929 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.853e-05/0.2307, allocations: 11.98 kB / 0.5929 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.2308, allocations: 15.38 kB / 0.593 GB, free: 11 MB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.2308, allocations: 0 / 0.593 GB, free: 11 MB / 0.4981 GB Notification: Performance of Templates: time 0.003574/0.2344, allocations: 0.6217 MB / 0.5936 GB, free: 10.38 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)