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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001218/0.001218, allocations: 195.5 kB / 16.14 MB, free: 6.719 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 60.78 kB / 0.5047 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2021, allocations: 80.93 MB / 0.5837 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006662/0.2088, allocations: 4.459 MB / 0.5881 GB, free: 496 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.2118, allocations: 2.718 MB / 0.5907 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.2119, allocations: 0 / 0.5907 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.2123, allocations: 39.8 kB / 0.5907 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.2125, allocations: 91.48 kB / 0.5908 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.2137, allocations: 451.8 kB / 0.5913 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.214, allocations: 311.9 kB / 0.5916 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.2141, allocations: 9.562 kB / 0.5916 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.2151, allocations: 398.8 kB / 0.5919 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.2152, allocations: 95.59 kB / 0.592 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.2153, allocations: 8 kB / 0.592 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.2163, allocations: 0.4949 MB / 0.5925 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.2164, allocations: 35.83 kB / 0.5926 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/0.2165, allocations: 75.66 kB / 0.5926 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.2171, allocations: 363.3 kB / 0.593 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2171, allocations: 0 / 0.593 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2171, allocations: 0 / 0.593 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2171, allocations: 0 / 0.593 GB, free: 11.42 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007904/0.2179, allocations: 0.4954 MB / 0.5935 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.218, allocations: 8.031 kB / 0.5935 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.2181, allocations: 24.83 kB / 0.5935 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2184, allocations: 216 kB / 0.5937 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2184, allocations: 8.703 kB / 0.5937 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.2184, allocations: 20.38 kB / 0.5937 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.2188, allocations: 245.1 kB / 0.594 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2188, allocations: 3.984 kB / 0.594 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.2188, allocations: 8 kB / 0.594 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.2189, allocations: 8 kB / 0.594 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.2194, allocations: 431.5 kB / 0.5944 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.2205, allocations: 1.008 MB / 0.5954 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.2208, allocations: 155.7 kB / 0.5955 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2209, allocations: 64.83 kB / 0.5956 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.2223, allocations: 1.825 MB / 0.5974 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2223, allocations: 34.56 kB / 0.5974 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.2223, allocations: 4 kB / 0.5974 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003615/0.2227, allocations: 145.4 kB / 0.5975 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.2227, allocations: 55.34 kB / 0.5976 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.2229, allocations: 178.5 kB / 0.5978 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2229, allocations: 29.7 kB / 0.5978 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.223, allocations: 131.8 kB / 0.5979 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.2231, allocations: 59.2 kB / 0.598 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.2231, allocations: 53.7 kB / 0.598 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2232, allocations: 330.8 kB / 0.5983 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.2233, allocations: 31.98 kB / 0.5984 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.2235, allocations: 147.4 kB / 0.5985 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.2237, allocations: 200.1 kB / 0.5987 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2237, allocations: 4 kB / 0.5987 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003188/0.224, allocations: 213.4 kB / 0.5989 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2241, allocations: 8 kB / 0.5989 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2241, allocations: 4 kB / 0.5989 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2241, allocations: 4 kB / 0.5989 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.2243, allocations: 63.84 kB / 0.599 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.2243, allocations: 4 kB / 0.599 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2244, allocations: 31.67 kB / 0.599 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.2244, allocations: 12 kB / 0.599 GB, free: 4.48 MB / 0.4981 GB 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 0.0001345/0.2246, allocations: 142.5 kB / 0.5992 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.2246, allocations: 15.81 kB / 0.5992 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.225, allocations: 155.6 kB / 0.5993 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.225, allocations: 3.938 kB / 0.5993 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.225, allocations: 0 / 0.5993 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.225, allocations: 0 / 0.5993 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.2252, allocations: 217.5 kB / 0.5996 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2253, allocations: 4 kB / 0.5996 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.475e-05/0.2254, allocations: 23.92 kB / 0.5996 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2254, allocations: 8 kB / 0.5996 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2254, allocations: 4 kB / 0.5996 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2254, allocations: 3.938 kB / 0.5996 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2254, allocations: 0 / 0.5996 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.2256, allocations: 222.1 kB / 0.5998 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.2257, allocations: 108.9 kB / 0.5999 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2258, allocations: 0 / 0.5999 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.226, allocations: 27.92 kB / 0.5999 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.226, allocations: 15.92 kB / 0.5999 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.226, allocations: 8 kB / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.623e-05/0.2261, allocations: 117.8 kB / 0.6001 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2261, allocations: 0 / 0.6001 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003955/0.2265, allocations: 75.98 kB / 0.6001 GB, free: 3.258 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 (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.0004095/0.227, allocations: 183.1 kB / 0.6003 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.2272, allocations: 115.8 kB / 0.6004 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.2273, allocations: 3.984 kB / 0.6004 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.2273, allocations: 43.92 kB / 0.6005 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.2279, allocations: 54.8 kB / 0.6005 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.2287, allocations: 404.5 kB / 0.6009 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2291, allocations: 0.7131 MB / 0.6016 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.2293, allocations: 45.75 kB / 0.6017 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.2293, allocations: 27.42 kB / 0.6017 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2293, allocations: 0 / 0.6017 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of Templates: time 0.3561/0.5854, allocations: 3.211 MB / 0.6048 GB, free: 52 MB / 0.4981 GB 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)