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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8881/0.8881, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 221.3 MB / 400.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008723/0.0008722, allocations: 83.91 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.073e-05/5.074e-05, allocations: 2.656 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1794, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6558/0.8353, allocations: 137.9 MB / 0.7751 GB, free: 376 kB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.8356, allocations: 76.52 kB / 0.7752 GB, free: 332 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003729/0.8393, allocations: 1.661 MB / 0.7768 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8394, allocations: 0 / 0.7768 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8394, allocations: 0 / 0.7768 GB, free: 14.88 MB / 0.5105 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.000333/0.8397, allocations: 326.6 kB / 0.7772 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.8398, allocations: 13.02 kB / 0.7772 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.8398, allocations: 34.55 kB / 0.7772 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.8399, allocations: 7.859 kB / 0.7772 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.84, allocations: 167 kB / 0.7774 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.8401, allocations: 33.08 kB / 0.7774 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.8401, allocations: 4 kB / 0.7774 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.771e-05/0.8402, allocations: 37.19 kB / 0.7774 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.8402, allocations: 0 / 0.7774 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.8403, allocations: 0 / 0.7774 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.8403, allocations: 5.859 kB / 0.7774 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.8403, allocations: 11.95 kB / 0.7775 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.8405, allocations: 153.2 kB / 0.7776 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.736e-05/0.8406, allocations: 30.02 kB / 0.7776 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.8406, allocations: 12.36 kB / 0.7776 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.8408, allocations: 89.19 kB / 0.7777 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.8408, allocations: 34.56 kB / 0.7778 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8408, allocations: 0 / 0.7778 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001241/0.8409, allocations: 44.44 kB / 0.7778 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.841, allocations: 51.41 kB / 0.7779 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.8411, allocations: 92.06 kB / 0.7779 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.8411, allocations: 25.7 kB / 0.778 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.8411, allocations: 80.14 kB / 0.778 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.8412, allocations: 11.34 kB / 0.7781 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.8412, allocations: 4 kB / 0.7781 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8413, allocations: 318.8 kB / 0.7784 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.8413, allocations: 4 kB / 0.7784 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.8413, allocations: 15.03 kB / 0.7784 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.798e-05/0.8414, allocations: 4 kB / 0.7784 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8414, allocations: 0 / 0.7784 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.097e-05/0.8414, allocations: 48.78 kB / 0.7784 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.8415, allocations: 4 kB / 0.7784 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8415, allocations: 0 / 0.7784 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.8415, allocations: 4 kB / 0.7784 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.8416, allocations: 8 kB / 0.7784 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.8416, allocations: 3.938 kB / 0.7784 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.8416, allocations: 3.984 kB / 0.7785 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.8416, allocations: 0 / 0.7785 GB, free: 13.02 MB / 0.5105 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 () * 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.109e-05/0.8417, allocations: 112.2 kB / 0.7786 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.8417, allocations: 0 / 0.7786 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.8418, allocations: 52.38 kB / 0.7786 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.8419, allocations: 0 / 0.7786 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8419, allocations: 4 kB / 0.7786 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8419, allocations: 0 / 0.7786 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.842, allocations: 161 kB / 0.7788 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.842, allocations: 0 / 0.7788 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.842, allocations: 4 kB / 0.7788 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.8421, allocations: 4 kB / 0.7788 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.8421, allocations: 2.938 kB / 0.7788 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8421, allocations: 3.984 kB / 0.7788 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.8421, allocations: 0 / 0.7788 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.892e-05/0.8422, allocations: 78.33 kB / 0.7789 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.8422, allocations: 81.02 kB / 0.7789 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.8423, allocations: 4 kB / 0.7789 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.8423, allocations: 0 / 0.7789 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.8423, allocations: 3.984 kB / 0.7789 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.8423, allocations: 4 kB / 0.7789 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.8424, allocations: 77.09 kB / 0.779 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8424, allocations: 0 / 0.779 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001942/0.8426, allocations: 15.94 kB / 0.779 GB, free: 12.34 MB / 0.5105 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 () * 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.0004515/0.8431, allocations: 0.6434 MB / 0.7797 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.8432, allocations: 16.03 kB / 0.7797 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8432, allocations: 0 / 0.7797 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.8432, allocations: 11.69 kB / 0.7797 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.8433, allocations: 11.98 kB / 0.7797 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.8436, allocations: 91.44 kB / 0.7798 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.8439, allocations: 0.677 MB / 0.7804 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.8439, allocations: 11.92 kB / 0.7805 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.844, allocations: 11.44 kB / 0.7805 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.844, allocations: 0 / 0.7805 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.8561, allocations: 1.787 MB / 0.7822 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.8563, allocations: 161.3 kB / 0.7824 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.366, allocations: 0 / 0.7824 GB, free: 8.922 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)