Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 197 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7351/0.7351, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.33 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.461, allocations: 80.21 MB / 0.5801 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002401/0.4634, allocations: 1.265 MB / 0.5813 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.158/0.6214, allocations: 132 MB / 0.7103 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.6215, allocations: 4 kB / 0.7103 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.6216, allocations: 0 / 0.7103 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.6217, allocations: 11.92 kB / 0.7103 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.6221, allocations: 51.73 kB / 0.7103 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.6222, allocations: 19.88 kB / 0.7104 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.6223, allocations: 7.984 kB / 0.7104 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.6224, allocations: 7.938 kB / 0.7104 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.6224, allocations: 7.984 kB / 0.7104 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.6225, allocations: 0 / 0.7104 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.716e-05/0.6226, allocations: 15.98 kB / 0.7104 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.6226, allocations: 4 kB / 0.7104 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.6226, allocations: 15.92 kB / 0.7104 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.6228, allocations: 25.89 kB / 0.7104 GB, free: 11.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6228, allocations: 0 / 0.7104 GB, free: 11.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.582e-06/0.6228, allocations: 0 / 0.7104 GB, free: 11.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6228, allocations: 0 / 0.7104 GB, free: 11.58 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005183/0.6233, allocations: 335.4 kB / 0.7108 GB, free: 11.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6234, allocations: 8.031 kB / 0.7108 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.6234, allocations: 4.938 kB / 0.7108 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.6236, allocations: 168.3 kB / 0.7109 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-05/0.6237, allocations: 38.25 kB / 0.711 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.6237, allocations: 384 / 0.711 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.6238, allocations: 34.25 kB / 0.711 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.6238, allocations: 3.938 kB / 0.711 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.6239, allocations: 0 / 0.711 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6239, allocations: 4 kB / 0.711 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.624, allocations: 15.98 kB / 0.711 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.6241, allocations: 153.7 kB / 0.7112 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.6242, allocations: 42.55 kB / 0.7112 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.6243, allocations: 8.859 kB / 0.7112 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.6245, allocations: 89.19 kB / 0.7113 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.6245, allocations: 30.56 kB / 0.7113 GB, free: 10.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.6245, allocations: 4 kB / 0.7113 GB, free: 10.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002366/0.6248, allocations: 69.52 kB / 0.7114 GB, free: 10.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.6248, allocations: 51.41 kB / 0.7114 GB, free: 10.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.6249, allocations: 101.8 kB / 0.7115 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.6249, allocations: 29.64 kB / 0.7116 GB, free: 10.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.6249, allocations: 88.12 kB / 0.7117 GB, free: 10.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.625, allocations: 11.84 kB / 0.7117 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.625, allocations: 9.719 kB / 0.7117 GB, free: 10.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6251, allocations: 322.8 kB / 0.712 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.6252, allocations: 11.92 kB / 0.712 GB, free: 9.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.6252, allocations: 4 kB / 0.712 GB, free: 9.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.6253, allocations: 20.84 kB / 0.712 GB, free: 9.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6253, allocations: 0 / 0.712 GB, free: 9.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001216/0.6255, allocations: 53.67 kB / 0.7121 GB, free: 9.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.6255, allocations: 7.938 kB / 0.7121 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6255, allocations: 4 kB / 0.7121 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6255, allocations: 0 / 0.7121 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.6256, allocations: 11.94 kB / 0.7121 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.6256, allocations: 0 / 0.7121 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.6256, allocations: 0 / 0.7121 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.6256, allocations: 0 / 0.7121 GB, free: 9.629 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/0.6257, allocations: 115.4 kB / 0.7122 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.6257, allocations: 11.83 kB / 0.7122 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.6259, allocations: 53.19 kB / 0.7123 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.6259, allocations: 4 kB / 0.7123 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6259, allocations: 4 kB / 0.7123 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6259, allocations: 4.547 kB / 0.7123 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.626, allocations: 149.7 kB / 0.7124 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6261, allocations: 0 / 0.7124 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.6261, allocations: 11.92 kB / 0.7124 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6261, allocations: 3.938 kB / 0.7124 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.6261, allocations: 0 / 0.7124 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6261, allocations: 4 kB / 0.7124 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6261, allocations: 4 kB / 0.7124 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.6263, allocations: 81.09 kB / 0.7125 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.6264, allocations: 77.11 kB / 0.7126 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.6264, allocations: 3.938 kB / 0.7126 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.806e-05/0.6264, allocations: 0 / 0.7126 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.6265, allocations: 7.984 kB / 0.7126 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.6265, allocations: 0 / 0.7126 GB, free: 9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.6265, allocations: 87.28 kB / 0.7127 GB, free: 8.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6265, allocations: 0 / 0.7127 GB, free: 8.914 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001866/0.6267, allocations: 12 kB / 0.7127 GB, free: 8.902 MB / 0.545 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 (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.000182/0.6269, allocations: 103.2 kB / 0.7128 GB, free: 8.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.627, allocations: 31.86 kB / 0.7128 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6271, allocations: 3.938 kB / 0.7128 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.952e-05/0.6271, allocations: 11.98 kB / 0.7128 GB, free: 8.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.6274, allocations: 13.53 kB / 0.7129 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.6277, allocations: 133.9 kB / 0.713 GB, free: 8.578 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.628, allocations: 0.6768 MB / 0.7136 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.6281, allocations: 4 kB / 0.7136 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.6281, allocations: 11.44 kB / 0.7137 GB, free: 7.859 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.6281, allocations: 0 / 0.7137 GB, free: 7.859 MB / 0.545 GB Notification: Performance of Templates: time 0.002877/0.631, allocations: 0.521 MB / 0.7142 GB, free: 7.348 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)