Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.0008861, allocations: 99.55 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.0008832/0.0008834, allocations: 177.3 kB / 15.94 MB, free: 228 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.218/1.218, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8609/0.8609, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004181, allocations: 12 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1548, allocations: 82.31 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001446/0.1563, allocations: 1.186 MB / 0.5883 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3744/0.5307, allocations: 112 MB / 0.6977 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.5307, allocations: 1 kB / 0.6977 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.5308, allocations: 1.359 kB / 0.6977 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/0.5308, allocations: 20.02 kB / 0.6977 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.5311, allocations: 50.23 kB / 0.6978 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.5312, allocations: 31.98 kB / 0.6978 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.108e-05/0.5313, allocations: 16.45 kB / 0.6978 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.5313, allocations: 18 kB / 0.6978 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.5314, allocations: 24.58 kB / 0.6979 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.5314, allocations: 2.594 kB / 0.6979 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.5315, allocations: 16.03 kB / 0.6979 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.5315, allocations: 7.344 kB / 0.6979 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.5315, allocations: 33.33 kB / 0.6979 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.5316, allocations: 40.06 kB / 0.6979 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.5317, allocations: 1.562 kB / 0.6979 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.594e-06/0.5317, allocations: 4.797 kB / 0.698 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.5317, allocations: 3.094 kB / 0.698 GB, free: 11.51 MB / 0.5294 GB 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.0004512/0.5321, allocations: 380.1 kB / 0.6983 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.5322, allocations: 9.938 kB / 0.6983 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.5322, allocations: 3.203 kB / 0.6983 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.5323, allocations: 173 kB / 0.6985 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.5323, allocations: 5.219 kB / 0.6985 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.5323, allocations: 2.625 kB / 0.6985 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.5326, allocations: 82.55 kB / 0.6986 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.5326, allocations: 0.7969 kB / 0.6986 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5326, allocations: 5.406 kB / 0.6986 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5326, allocations: 0 / 0.6986 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.5329, allocations: 92.81 kB / 0.6987 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.5333, allocations: 287 kB / 0.6989 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.5335, allocations: 69.02 kB / 0.699 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.5336, allocations: 89.28 kB / 0.6991 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.5336, allocations: 32.2 kB / 0.6991 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.5337, allocations: 0 / 0.6991 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005301/0.5342, allocations: 170.5 kB / 0.6993 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.5343, allocations: 57.39 kB / 0.6993 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.5344, allocations: 116.7 kB / 0.6995 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.5344, allocations: 25.7 kB / 0.6995 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.5344, allocations: 91.84 kB / 0.6996 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.5345, allocations: 9.688 kB / 0.6996 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.5345, allocations: 5.438 kB / 0.6996 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.5346, allocations: 318.5 kB / 0.6999 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.5347, allocations: 35.67 kB / 0.6999 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.5348, allocations: 49.02 kB / 0.7 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.535, allocations: 41.92 kB / 0.7 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.535, allocations: 4 kB / 0.7 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003167/0.5353, allocations: 122.8 kB / 0.7001 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5353, allocations: 8.703 kB / 0.7001 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5353, allocations: 0 / 0.7001 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5354, allocations: 0 / 0.7001 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.5355, allocations: 29.16 kB / 0.7002 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5355, allocations: 4.656 kB / 0.7002 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/0.5356, allocations: 20.48 kB / 0.7002 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.5356, allocations: 1.25 kB / 0.7002 GB, free: 9.656 MB / 0.5294 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 (3): * Single equations (assignments): 3 * 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 6.395e-05/0.5357, allocations: 109.2 kB / 0.7003 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.5357, allocations: 7.203 kB / 0.7003 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.5361, allocations: 129.3 kB / 0.7004 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5361, allocations: 0 / 0.7004 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5361, allocations: 2.5 kB / 0.7004 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5361, allocations: 5.422 kB / 0.7004 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.5363, allocations: 168.1 kB / 0.7006 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5363, allocations: 5.438 kB / 0.7006 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.543e-05/0.5364, allocations: 25.94 kB / 0.7006 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5364, allocations: 0 / 0.7006 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.5364, allocations: 5.094 kB / 0.7006 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5364, allocations: 0.7969 kB / 0.7006 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5364, allocations: 0 / 0.7006 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.5368, allocations: 223 kB / 0.7008 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.5368, allocations: 83.06 kB / 0.7009 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.5368, allocations: 1 kB / 0.7009 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5369, allocations: 20.34 kB / 0.7009 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.537, allocations: 4.531 kB / 0.7009 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.537, allocations: 4.594 kB / 0.701 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.537, allocations: 95.84 kB / 0.701 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.537, allocations: 7.938 kB / 0.701 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002102/0.5372, allocations: 12.56 kB / 0.7011 GB, free: 8.934 MB / 0.5294 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 (3): * Single equations (assignments): 3 * 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.0001211/0.5374, allocations: 112.5 kB / 0.7012 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.5377, allocations: 94.2 kB / 0.7013 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5377, allocations: 0 / 0.7013 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.5379, allocations: 48.47 kB / 0.7013 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.5381, allocations: 12.33 kB / 0.7013 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.5384, allocations: 174.8 kB / 0.7015 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.5386, allocations: 0.6899 MB / 0.7022 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.086e-05/0.5386, allocations: 4.484 kB / 0.7022 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.5387, allocations: 9.781 kB / 0.7022 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.5387, allocations: 0 / 0.7022 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of Templates: time 0.00264/0.5413, allocations: 0.8071 MB / 0.703 GB, free: 7.891 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: