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.001509/0.001509, allocations: 103.3 kB / 16.27 MB, free: 5.98 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.001552/0.001552, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8257/0.8257, allocations: 135.2 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 59.91 kB / 0.506 GB, free: 8.395 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3271, allocations: 80.92 MB / 0.585 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001968/0.3291, allocations: 1.251 MB / 0.5863 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.3319, allocations: 2.918 MB / 0.5891 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.3319, allocations: 5.875 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.3319, allocations: 3.938 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.332, allocations: 11.73 kB / 0.5891 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.3324, allocations: 95.86 kB / 0.5892 GB, free: 21.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.3325, allocations: 30.42 kB / 0.5893 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.3325, allocations: 11.67 kB / 0.5893 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.333, allocations: 158.2 kB / 0.5894 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.333, allocations: 22.31 kB / 0.5894 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.333, allocations: 1.406 kB / 0.5894 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3332, allocations: 61.09 kB / 0.5895 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.3332, allocations: 7.812 kB / 0.5895 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.3332, allocations: 22.78 kB / 0.5895 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3334, allocations: 61.8 kB / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.3334, allocations: 0.5312 kB / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3334, allocations: 0 / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.3334, allocations: 0.7812 kB / 0.5896 GB, free: 21.52 MB / 446.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.0003008/0.3337, allocations: 345.2 kB / 0.5899 GB, free: 21.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.3338, allocations: 11.64 kB / 0.5899 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.3338, allocations: 11.69 kB / 0.5899 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.22e-05/0.3339, allocations: 162.8 kB / 0.5901 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3339, allocations: 5.594 kB / 0.5901 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.3339, allocations: 8.125 kB / 0.5901 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.334, allocations: 60.77 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.334, allocations: 0 / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3341, allocations: 0 / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3341, allocations: 1.094 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.3341, allocations: 15.39 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.3342, allocations: 172.7 kB / 0.5903 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.834e-05/0.3343, allocations: 58.3 kB / 0.5904 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.3344, allocations: 21.34 kB / 0.5904 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005155/0.3349, allocations: 0.5942 MB / 0.591 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.3349, allocations: 32.88 kB / 0.591 GB, free: 19.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3349, allocations: 1.031 kB / 0.591 GB, free: 19.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000475/0.3354, allocations: 300.5 kB / 0.5913 GB, free: 19.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.3354, allocations: 53.47 kB / 0.5914 GB, free: 19.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.901e-05/0.3355, allocations: 102.4 kB / 0.5915 GB, free: 19.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.3355, allocations: 28.23 kB / 0.5915 GB, free: 19.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.3355, allocations: 89.36 kB / 0.5916 GB, free: 19.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.3356, allocations: 22.77 kB / 0.5916 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3356, allocations: 26.12 kB / 0.5916 GB, free: 19.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.3356, allocations: 324.3 kB / 0.5919 GB, free: 18.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.3357, allocations: 14.06 kB / 0.5919 GB, free: 18.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.3357, allocations: 52.61 kB / 0.592 GB, free: 18.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.157e-05/0.3358, allocations: 81.22 kB / 0.5921 GB, free: 18.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3358, allocations: 1.25 kB / 0.5921 GB, free: 18.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000119/0.3359, allocations: 100.1 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.3359, allocations: 6.438 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.336, allocations: 1.625 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.336, allocations: 1.375 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.336, allocations: 22.25 kB / 0.5922 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3361, allocations: 5.406 kB / 0.5922 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.3361, allocations: 7.75 kB / 0.5922 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3361, allocations: 3.781 kB / 0.5922 GB, free: 18.75 MB / 446.1 MB 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 4.997e-05/0.3362, allocations: 125.2 kB / 0.5923 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.3362, allocations: 4 kB / 0.5923 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.3362, allocations: 9.438 kB / 0.5924 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3362, allocations: 1.125 kB / 0.5924 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3362, allocations: 0 / 0.5924 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3363, allocations: 6.656 kB / 0.5924 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3364, allocations: 181.8 kB / 0.5925 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3365, allocations: 1.344 kB / 0.5925 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.3365, allocations: 16.67 kB / 0.5926 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3365, allocations: 0 / 0.5926 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3366, allocations: 1.375 kB / 0.5926 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3366, allocations: 1.312 kB / 0.5926 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3366, allocations: 1.938 kB / 0.5926 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.3367, allocations: 178.1 kB / 0.5927 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.3367, allocations: 81.11 kB / 0.5928 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.3368, allocations: 4.594 kB / 0.5928 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3369, allocations: 1.125 kB / 0.5928 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.3369, allocations: 7.984 kB / 0.5928 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3369, allocations: 7.938 kB / 0.5928 GB, free: 18.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.646e-05/0.3369, allocations: 76.06 kB / 0.5929 GB, free: 18.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3369, allocations: 2.344 kB / 0.5929 GB, free: 18.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3372, allocations: 16 kB / 0.5929 GB, free: 18.01 MB / 446.1 MB 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 8.735e-05/0.3373, allocations: 103.2 kB / 0.593 GB, free: 17.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.3374, allocations: 48.34 kB / 0.5931 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3374, allocations: 0.6875 kB / 0.5931 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/0.3374, allocations: 17.16 kB / 0.5931 GB, free: 17.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.3377, allocations: 10.03 kB / 0.5931 GB, free: 17.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.3382, allocations: 368.6 kB / 0.5934 GB, free: 17.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.186e-05/0.3383, allocations: 0.6846 MB / 0.5941 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.3383, allocations: 11.44 kB / 0.5941 GB, free: 16.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3383, allocations: 0 / 0.5941 GB, free: 16.76 MB / 446.1 MB Notification: Performance of Templates: time 0.002/0.3403, allocations: 0.7685 MB / 0.5949 GB, free: 15.99 MB / 446.1 MB 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)