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/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.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_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.002231/0.002231, allocations: 174.5 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.8339/0.8339, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.503/1.503, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0008728/0.0008728, allocations: 97.72 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.915e-05, allocations: 3.531 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1593, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.553/0.7123, allocations: 138.4 MB / 0.7757 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.7128, allocations: 74.77 kB / 0.7758 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.006718/0.7195, allocations: 2.202 MB / 0.7779 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7195, allocations: 1.859 kB / 0.7779 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.7196, allocations: 4 kB / 0.7779 GB, free: 13.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004995/0.7201, allocations: 370.5 kB / 0.7783 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.7201, allocations: 16.03 kB / 0.7783 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.7202, allocations: 33.88 kB / 0.7783 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.7202, allocations: 11.95 kB / 0.7783 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.7204, allocations: 170.9 kB / 0.7785 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.7204, allocations: 7.938 kB / 0.7785 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.7204, allocations: 0 / 0.7785 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.7206, allocations: 59.53 kB / 0.7785 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.7206, allocations: 0 / 0.7785 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.7206, allocations: 0 / 0.7785 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7206, allocations: 4 kB / 0.7786 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.024e-05/0.7207, allocations: 26.77 kB / 0.7786 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.7212, allocations: 283.8 kB / 0.7788 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.98e-05/0.7213, allocations: 29.39 kB / 0.7789 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.7213, allocations: 16.55 kB / 0.7789 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.7215, allocations: 94.17 kB / 0.779 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.7216, allocations: 34.52 kB / 0.779 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.7216, allocations: 0 / 0.779 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001776/0.7217, allocations: 56.94 kB / 0.7791 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.7218, allocations: 51.41 kB / 0.7791 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.7219, allocations: 110.2 kB / 0.7792 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.7219, allocations: 29.64 kB / 0.7792 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.722, allocations: 99.31 kB / 0.7793 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.722, allocations: 11.81 kB / 0.7794 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.722, allocations: 0 / 0.7794 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7221, allocations: 314.6 kB / 0.7797 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.861e-05/0.7222, allocations: 11.73 kB / 0.7797 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.7222, allocations: 8 kB / 0.7797 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.7222, allocations: 7.688 kB / 0.7797 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7222, allocations: 0 / 0.7797 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.847e-05/0.7223, allocations: 52.89 kB / 0.7797 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7224, allocations: 4 kB / 0.7797 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7224, allocations: 4.047 kB / 0.7797 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.7224, allocations: 11.88 kB / 0.7798 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.7226, allocations: 19.98 kB / 0.7798 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7226, allocations: 0 / 0.7798 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/0.7227, allocations: 15.98 kB / 0.7798 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.7227, allocations: 8 kB / 0.7798 GB, free: 11.84 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.841e-05/0.7228, allocations: 104.7 kB / 0.7799 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.7228, allocations: 11.89 kB / 0.7799 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.723, allocations: 56.41 kB / 0.78 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.723, allocations: 7.953 kB / 0.78 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.723, allocations: 0 / 0.78 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.723, allocations: 0 / 0.78 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.7232, allocations: 168.9 kB / 0.7801 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7232, allocations: 3.938 kB / 0.7801 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.7233, allocations: 27.92 kB / 0.7802 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7234, allocations: 0 / 0.7802 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7234, allocations: 3.984 kB / 0.7802 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7234, allocations: 0 / 0.7802 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.7234, allocations: 3.953 kB / 0.7802 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.7236, allocations: 150.6 kB / 0.7803 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.7236, allocations: 83.98 kB / 0.7804 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.7237, allocations: 0 / 0.7804 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.7238, allocations: 19.98 kB / 0.7804 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.7239, allocations: 7.984 kB / 0.7804 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.7239, allocations: 3.953 kB / 0.7804 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.7239, allocations: 94.03 kB / 0.7805 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.724, allocations: 0 / 0.7805 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002237/0.7242, allocations: 23.94 kB / 0.7805 GB, free: 11.02 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.0005674/0.7248, allocations: 0.7184 MB / 0.7812 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.7249, allocations: 28.17 kB / 0.7813 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7249, allocations: 0 / 0.7813 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.7249, allocations: 18.31 kB / 0.7813 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.7251, allocations: 9.312 kB / 0.7813 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.7255, allocations: 113.8 kB / 0.7814 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.7259, allocations: 0.6855 MB / 0.7821 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.7259, allocations: 4.25 kB / 0.7821 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.726, allocations: 17.88 kB / 0.7821 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.726, allocations: 4 kB / 0.7821 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.7402, allocations: 2.34 MB / 0.7844 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.7404, allocations: 154.1 kB / 0.7845 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.396, allocations: 0 / 0.7845 GB, free: 6.938 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)