Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 107.1 kB / 16.27 MB, free: 6.41 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.001182/0.001182, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8294/0.8294, allocations: 135.2 MB / 426.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 0.506 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 80.92 MB / 0.585 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004855/0.3264, allocations: 4.42 MB / 0.5894 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3284, allocations: 2.678 MB / 0.592 GB, free: 19.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.3285, allocations: 5.656 kB / 0.592 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.3288, allocations: 59.28 kB / 0.592 GB, free: 19.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.329, allocations: 84.53 kB / 0.5921 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.3299, allocations: 497.1 kB / 0.5926 GB, free: 18.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.33, allocations: 235.9 kB / 0.5928 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.3301, allocations: 10.09 kB / 0.5928 GB, free: 18.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007047/0.3308, allocations: 414.3 kB / 0.5932 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.3309, allocations: 95.58 kB / 0.5933 GB, free: 18.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3309, allocations: 8 kB / 0.5933 GB, free: 18.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000726/0.3317, allocations: 496 kB / 0.5938 GB, free: 17.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.3317, allocations: 27.91 kB / 0.5938 GB, free: 17.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.3318, allocations: 83.59 kB / 0.5939 GB, free: 17.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.3323, allocations: 353 kB / 0.5942 GB, free: 17.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3323, allocations: 2.562 kB / 0.5942 GB, free: 17.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3323, allocations: 0 / 0.5942 GB, free: 17.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3323, allocations: 3.938 kB / 0.5942 GB, free: 17.11 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005805/0.3329, allocations: 0.4953 MB / 0.5947 GB, free: 16.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.3329, allocations: 9.109 kB / 0.5947 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.3331, allocations: 21.69 kB / 0.5948 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3333, allocations: 216.1 kB / 0.595 GB, free: 16.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3333, allocations: 13.86 kB / 0.595 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3333, allocations: 16.38 kB / 0.595 GB, free: 16.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.3336, allocations: 247.5 kB / 0.5952 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3336, allocations: 4 kB / 0.5952 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3336, allocations: 8 kB / 0.5952 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.3337, allocations: 9.281 kB / 0.5952 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.334, allocations: 435.4 kB / 0.5957 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/0.3348, allocations: 1 MB / 0.5966 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.335, allocations: 160.7 kB / 0.5968 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.3351, allocations: 67.81 kB / 0.5969 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008374/0.3359, allocations: 1.829 MB / 0.5986 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.336, allocations: 31.78 kB / 0.5987 GB, free: 12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.336, allocations: 0 / 0.5987 GB, free: 12 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002752/0.3362, allocations: 145.5 kB / 0.5988 GB, free: 11.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.3363, allocations: 60.69 kB / 0.5989 GB, free: 11.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.3364, allocations: 169.6 kB / 0.599 GB, free: 11.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.3364, allocations: 26.33 kB / 0.5991 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.3365, allocations: 143.8 kB / 0.5992 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.3365, allocations: 56.81 kB / 0.5992 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3365, allocations: 53.7 kB / 0.5993 GB, free: 11.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.3366, allocations: 322.8 kB / 0.5996 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.3366, allocations: 44.62 kB / 0.5996 GB, free: 10.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.3367, allocations: 136.8 kB / 0.5998 GB, free: 10.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3369, allocations: 201.5 kB / 0.6 GB, free: 10.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3369, allocations: 4 kB / 0.6 GB, free: 10.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002633/0.3372, allocations: 216.4 kB / 0.6002 GB, free: 10.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3372, allocations: 8 kB / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3372, allocations: 4 kB / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3372, allocations: 5.594 kB / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3374, allocations: 55.86 kB / 0.6003 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3374, allocations: 11.98 kB / 0.6003 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.647e-05/0.3375, allocations: 27.69 kB / 0.6003 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3375, allocations: 20.55 kB / 0.6003 GB, free: 10.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.164e-05/0.3376, allocations: 131.4 kB / 0.6004 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.3377, allocations: 15.81 kB / 0.6004 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.3379, allocations: 154.7 kB / 0.6006 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.3379, allocations: 7.938 kB / 0.6006 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3379, allocations: 1.969 kB / 0.6006 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.338, allocations: 3.984 kB / 0.6006 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3381, allocations: 217.5 kB / 0.6008 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3381, allocations: 0 / 0.6008 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-05/0.3382, allocations: 31.92 kB / 0.6008 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3382, allocations: 1.375 kB / 0.6008 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3382, allocations: 4 kB / 0.6009 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3383, allocations: 7.922 kB / 0.6009 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3383, allocations: 0 / 0.6009 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.3384, allocations: 217 kB / 0.6011 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.3385, allocations: 104.9 kB / 0.6012 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3385, allocations: 8 kB / 0.6012 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.3387, allocations: 15.92 kB / 0.6012 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.3388, allocations: 17.64 kB / 0.6012 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3388, allocations: 15.92 kB / 0.6012 GB, free: 9.168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.388e-05/0.3388, allocations: 120.9 kB / 0.6013 GB, free: 9.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3389, allocations: 0 / 0.6013 GB, free: 9.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.3392, allocations: 83.81 kB / 0.6014 GB, free: 8.973 MB / 446.1 MB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002333/0.3394, allocations: 175.6 kB / 0.6016 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.3396, allocations: 132.6 kB / 0.6017 GB, free: 8.664 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3397, allocations: 0 / 0.6017 GB, free: 8.664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.3397, allocations: 43.92 kB / 0.6018 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3401, allocations: 47.97 kB / 0.6018 GB, free: 8.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.3407, allocations: 376.5 kB / 0.6022 GB, free: 8.176 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3408, allocations: 0.709 MB / 0.6028 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.3408, allocations: 31.42 kB / 0.6029 GB, free: 7.406 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3408, allocations: 0 / 0.6029 GB, free: 7.406 MB / 446.1 MB Notification: Performance of Templates: time 0.004132/0.345, allocations: 3.151 MB / 0.606 GB, free: 4.293 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)