Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001625/0.001625, allocations: 110.3 kB / 16.41 MB, free: 6.477 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.0019/0.0019, allocations: 183 kB / 17.34 MB, free: 5.754 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7896/0.7896, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 64.62 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1782, allocations: 80.94 MB / 0.6653 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003534/0.1818, allocations: 1.265 MB / 0.6665 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5648/0.7467, allocations: 132 MB / 0.7955 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.7467, allocations: 1.594 kB / 0.7955 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.7468, allocations: 0 / 0.7955 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.7468, allocations: 11.14 kB / 0.7955 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.7472, allocations: 58.84 kB / 0.7955 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.826e-05/0.7473, allocations: 20.59 kB / 0.7955 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.7473, allocations: 4.781 kB / 0.7956 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.7474, allocations: 15.33 kB / 0.7956 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.7474, allocations: 5.547 kB / 0.7956 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.7474, allocations: 1.062 kB / 0.7956 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.781e-05/0.7475, allocations: 15.75 kB / 0.7956 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.7475, allocations: 2.484 kB / 0.7956 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.7476, allocations: 11.41 kB / 0.7956 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 9.83e-05/0.7477, allocations: 37.58 kB / 0.7956 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7477, allocations: 0 / 0.7956 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7477, allocations: 1.281 kB / 0.7956 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.7477, allocations: 0 / 0.7956 GB, free: 12.99 MB / 0.5919 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.0003944/0.7481, allocations: 334.3 kB / 0.796 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.7481, allocations: 10.61 kB / 0.796 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.7482, allocations: 4.75 kB / 0.796 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.7483, allocations: 170.4 kB / 0.7961 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.7484, allocations: 29.36 kB / 0.7962 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.7484, allocations: 5.438 kB / 0.7962 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.7485, allocations: 40.03 kB / 0.7962 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7485, allocations: 3.938 kB / 0.7962 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.7486, allocations: 1.094 kB / 0.7962 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7486, allocations: 0 / 0.7962 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.7487, allocations: 15.89 kB / 0.7962 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.7488, allocations: 155.2 kB / 0.7964 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.988e-05/0.7489, allocations: 34.19 kB / 0.7964 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.749, allocations: 14.67 kB / 0.7964 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.7491, allocations: 91.56 kB / 0.7965 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.7492, allocations: 32.5 kB / 0.7965 GB, free: 12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7492, allocations: 0 / 0.7965 GB, free: 12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002263/0.7494, allocations: 65.44 kB / 0.7966 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.7495, allocations: 51.41 kB / 0.7966 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.7495, allocations: 99.98 kB / 0.7967 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.7495, allocations: 25.7 kB / 0.7968 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.7496, allocations: 81.39 kB / 0.7968 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.7496, allocations: 14.84 kB / 0.7969 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.7496, allocations: 16.25 kB / 0.7969 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.7497, allocations: 310.8 kB / 0.7972 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.7498, allocations: 17.56 kB / 0.7972 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.7499, allocations: 11.88 kB / 0.7972 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.218e-05/0.7499, allocations: 22.19 kB / 0.7972 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7499, allocations: 0.9375 kB / 0.7972 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001184/0.7501, allocations: 51.09 kB / 0.7973 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7501, allocations: 9.531 kB / 0.7973 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7501, allocations: 1.094 kB / 0.7973 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7501, allocations: 3.625 kB / 0.7973 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.7502, allocations: 12.09 kB / 0.7973 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7502, allocations: 0 / 0.7973 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.7503, allocations: 5.484 kB / 0.7973 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.7503, allocations: 8.891 kB / 0.7973 GB, free: 11.28 MB / 0.5919 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 6.389e-05/0.7503, allocations: 110.6 kB / 0.7974 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.7504, allocations: 5.188 kB / 0.7974 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.7505, allocations: 60.12 kB / 0.7975 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.7505, allocations: 5.125 kB / 0.7975 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7505, allocations: 0 / 0.7975 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.7505, allocations: 0 / 0.7975 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.7507, allocations: 154.5 kB / 0.7976 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7507, allocations: 0 / 0.7976 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.7507, allocations: 5.344 kB / 0.7976 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.7507, allocations: 3.938 kB / 0.7976 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.7507, allocations: 3.188 kB / 0.7976 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7507, allocations: 0 / 0.7976 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7507, allocations: 0 / 0.7976 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.7509, allocations: 76.34 kB / 0.7977 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.7509, allocations: 81.08 kB / 0.7978 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.751, allocations: 6.562 kB / 0.7978 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.751, allocations: 1.188 kB / 0.7978 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.751, allocations: 6.25 kB / 0.7978 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.751, allocations: 1.188 kB / 0.7978 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.7511, allocations: 83.67 kB / 0.7979 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7511, allocations: 0 / 0.7979 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001929/0.7513, allocations: 16.16 kB / 0.7979 GB, free: 10.67 MB / 0.5919 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.0001342/0.7514, allocations: 107.5 kB / 0.798 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.7516, allocations: 19.41 kB / 0.798 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7516, allocations: 3.938 kB / 0.798 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/0.7516, allocations: 11.11 kB / 0.798 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.7519, allocations: 10.38 kB / 0.798 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.7522, allocations: 159.4 kB / 0.7982 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.7524, allocations: 0.6787 MB / 0.7989 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.7525, allocations: 10.09 kB / 0.7989 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7525, allocations: 0 / 0.7989 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of Templates: time 0.001807/0.7543, allocations: 0.5771 MB / 0.7994 GB, free: 9.688 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)