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.006427/0.006427, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001209/0.001209, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.407/1.407, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.82/0.82, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 68.17 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1596, allocations: 80.92 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003303/0.163, allocations: 1.257 MB / 0.6659 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5556/0.7186, allocations: 132 MB / 0.7948 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.7187, allocations: 0 / 0.7948 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.7188, allocations: 3.938 kB / 0.7948 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.7189, allocations: 1.094 kB / 0.7948 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.7193, allocations: 67.78 kB / 0.7949 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.343e-05/0.7194, allocations: 16.48 kB / 0.7949 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.7195, allocations: 4.422 kB / 0.7949 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.7195, allocations: 11.73 kB / 0.7949 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.7196, allocations: 11.41 kB / 0.7949 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.7196, allocations: 3.938 kB / 0.7949 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.7197, allocations: 13.56 kB / 0.7949 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.7198, allocations: 2.531 kB / 0.7949 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.7198, allocations: 11.66 kB / 0.7949 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.7199, allocations: 26.77 kB / 0.795 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7199, allocations: 0 / 0.795 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.72, allocations: 0 / 0.795 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.72, allocations: 1.781 kB / 0.795 GB, free: 12.98 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.0004937/0.7205, allocations: 343.5 kB / 0.7953 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.7205, allocations: 9.734 kB / 0.7953 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.7206, allocations: 3.844 kB / 0.7953 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.7208, allocations: 166.5 kB / 0.7955 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.7209, allocations: 29.14 kB / 0.7955 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.7209, allocations: 1.875 kB / 0.7955 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.7211, allocations: 43.8 kB / 0.7955 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.7211, allocations: 3.938 kB / 0.7955 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.7211, allocations: 1.438 kB / 0.7955 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7211, allocations: 0 / 0.7955 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.7212, allocations: 19.91 kB / 0.7956 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.7214, allocations: 154.2 kB / 0.7957 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.7215, allocations: 30.56 kB / 0.7957 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.7216, allocations: 11.22 kB / 0.7958 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.7218, allocations: 93.25 kB / 0.7958 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.7218, allocations: 42.91 kB / 0.7959 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.7218, allocations: 0 / 0.7959 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002731/0.7221, allocations: 58.52 kB / 0.7959 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7221, allocations: 52.62 kB / 0.796 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.7222, allocations: 103.9 kB / 0.7961 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.7223, allocations: 25.7 kB / 0.7961 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.7223, allocations: 84.14 kB / 0.7962 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.7224, allocations: 12.08 kB / 0.7962 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.7224, allocations: 16.56 kB / 0.7962 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7226, allocations: 310.8 kB / 0.7965 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.7226, allocations: 7.484 kB / 0.7965 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.313e-05/0.7227, allocations: 9.234 kB / 0.7965 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.473e-05/0.7228, allocations: 31.77 kB / 0.7966 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7228, allocations: 0 / 0.7966 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001735/0.723, allocations: 52.27 kB / 0.7966 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.723, allocations: 9.281 kB / 0.7966 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.723, allocations: 3.938 kB / 0.7966 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.7231, allocations: 0 / 0.7966 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.7231, allocations: 7.438 kB / 0.7966 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.7232, allocations: 0 / 0.7966 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.7232, allocations: 5.156 kB / 0.7966 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.7232, allocations: 1.219 kB / 0.7966 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 0.0001178/0.7233, allocations: 118.5 kB / 0.7967 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.7234, allocations: 5.375 kB / 0.7968 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.7236, allocations: 60.61 kB / 0.7968 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7236, allocations: 1.188 kB / 0.7968 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7236, allocations: 0 / 0.7968 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7236, allocations: 1.156 kB / 0.7968 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.7238, allocations: 152.7 kB / 0.797 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7238, allocations: 0 / 0.797 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.7238, allocations: 5.281 kB / 0.797 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.7238, allocations: 9.25 kB / 0.797 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7239, allocations: 2.203 kB / 0.797 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7239, allocations: 0 / 0.797 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.7239, allocations: 2.969 kB / 0.797 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.724, allocations: 75.09 kB / 0.7971 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.7241, allocations: 81.3 kB / 0.7971 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.7242, allocations: 7.344 kB / 0.7971 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.7242, allocations: 6.469 kB / 0.7971 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.7242, allocations: 1.406 kB / 0.7971 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.7243, allocations: 1.25 kB / 0.7971 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.7243, allocations: 83.7 kB / 0.7972 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7243, allocations: 0 / 0.7972 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002164/0.7245, allocations: 12.5 kB / 0.7972 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.000202/0.7247, allocations: 105.7 kB / 0.7973 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.7249, allocations: 21.12 kB / 0.7974 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7249, allocations: 7.938 kB / 0.7974 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.725, allocations: 14.48 kB / 0.7974 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.7253, allocations: 9.281 kB / 0.7974 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.7257, allocations: 136.2 kB / 0.7975 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.7261, allocations: 0.6745 MB / 0.7982 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.589e-05/0.7261, allocations: 10.67 kB / 0.7982 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.7262, allocations: 8.75 kB / 0.7982 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.7262, allocations: 0 / 0.7982 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of Templates: time 0.003267/0.7294, allocations: 0.533 MB / 0.7987 GB, free: 9.676 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)