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.001147/0.001147, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009505/0.0009506, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8371/0.8371, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8 kB / 0.5068 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 82.32 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00118/0.1409, allocations: 1.06 MB / 0.5882 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.1435, allocations: 2.571 MB / 0.5907 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.1435, allocations: 0 / 0.5907 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.118e-05/0.1436, allocations: 7.922 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.1437, allocations: 19.97 kB / 0.5908 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1441, allocations: 163.5 kB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1442, allocations: 151.8 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.1443, allocations: 0 / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.385e-05/0.1443, allocations: 87.86 kB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.1444, allocations: 99.81 kB / 0.5912 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.1445, allocations: 16 kB / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.1448, allocations: 159.8 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.1449, allocations: 83.84 kB / 0.5915 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.1449, allocations: 49.64 kB / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.1452, allocations: 187.8 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.1452, allocations: 4 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1452, allocations: 0 / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1452, allocations: 4 kB / 0.5917 GB, free: 14.49 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.0006969/0.1459, allocations: 0.5144 MB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1459, allocations: 8.031 kB / 0.5922 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.146, allocations: 23.8 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.1463, allocations: 242 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.1463, allocations: 27.98 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1464, allocations: 12 kB / 0.5925 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.147, allocations: 317.1 kB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.147, allocations: 0 / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.147, allocations: 8 kB / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.147, allocations: 7.984 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.1484, allocations: 0.8038 MB / 0.5936 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1488, allocations: 313 kB / 0.5939 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.1504, allocations: 0.7738 MB / 0.5947 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/0.1508, allocations: 392.3 kB / 0.5951 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1508, allocations: 38.56 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.222e-06/0.1508, allocations: 4 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001568/0.1524, allocations: 0.7372 MB / 0.5958 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1524, allocations: 55.41 kB / 0.5959 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.1525, allocations: 122.1 kB / 0.596 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1525, allocations: 33.69 kB / 0.596 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1526, allocations: 88.8 kB / 0.5961 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/0.1527, allocations: 126.1 kB / 0.5962 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.1527, allocations: 8 kB / 0.5962 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1528, allocations: 330.8 kB / 0.5965 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.1533, allocations: 227.8 kB / 0.5968 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.1538, allocations: 224.8 kB / 0.597 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.1542, allocations: 207.6 kB / 0.5972 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1542, allocations: 4 kB / 0.5972 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001016/0.1552, allocations: 0.5092 MB / 0.5977 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1553, allocations: 4 kB / 0.5977 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1553, allocations: 0 / 0.5977 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1553, allocations: 4 kB / 0.5977 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.1556, allocations: 107.9 kB / 0.5978 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1557, allocations: 0 / 0.5978 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.1559, allocations: 63.73 kB / 0.5978 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.1559, allocations: 19.98 kB / 0.5979 GB, free: 7.906 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.156, allocations: 145.7 kB / 0.598 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.156, allocations: 15.81 kB / 0.598 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.1572, allocations: 0.5733 MB / 0.5986 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1572, allocations: 4 kB / 0.5986 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1572, allocations: 0 / 0.5986 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1572, allocations: 4 kB / 0.5986 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.1575, allocations: 313.3 kB / 0.5989 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1575, allocations: 0 / 0.5989 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.1579, allocations: 111.8 kB / 0.599 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1579, allocations: 0 / 0.599 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.1579, allocations: 11.98 kB / 0.599 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1579, allocations: 11.94 kB / 0.599 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1579, allocations: 7.875 kB / 0.599 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.1589, allocations: 0.5394 MB / 0.5996 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.159, allocations: 100.8 kB / 0.5996 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.159, allocations: 15.98 kB / 0.5997 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.1592, allocations: 51.95 kB / 0.5997 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.1594, allocations: 115.8 kB / 0.5998 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.1595, allocations: 12 kB / 0.5998 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.1595, allocations: 99.25 kB / 0.5999 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1595, allocations: 4 kB / 0.5999 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003194/0.1598, allocations: 115.9 kB / 0.6 GB, free: 5.578 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002779/0.1601, allocations: 191 kB / 0.6002 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.1612, allocations: 0.5189 MB / 0.6007 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1612, allocations: 0 / 0.6007 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.1617, allocations: 291.7 kB / 0.601 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.162, allocations: 63.92 kB / 0.6011 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.1627, allocations: 0.5058 MB / 0.6016 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1629, allocations: 0.7292 MB / 0.6023 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003705/0.1633, allocations: 184.3 kB / 0.6025 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.1634, allocations: 39.41 kB / 0.6025 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1634, allocations: 0 / 0.6025 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.2388/0.4022, allocations: 4.667 MB / 0.607 GB, free: 49.67 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: