Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_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.001737/0.001738, allocations: 175.2 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.7633/0.7633, 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.624/1.624, allocations: 221.3 MB / 400.4 MB, free: 5.875 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.001025/0.001025, allocations: 91.89 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.003e-05/5.01e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1719, allocations: 82.3 MB / 0.6405 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.647/0.819, allocations: 138.4 MB / 0.7757 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.8193, allocations: 80.7 kB / 0.7758 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00616/0.8255, allocations: 2.198 MB / 0.7779 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8255, allocations: 1.859 kB / 0.7779 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.8256, allocations: 0 / 0.7779 GB, free: 13.91 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.0005117/0.8261, allocations: 382.7 kB / 0.7783 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.8261, allocations: 8.031 kB / 0.7783 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.8262, allocations: 34.31 kB / 0.7783 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.8262, allocations: 7.953 kB / 0.7783 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.8264, allocations: 167 kB / 0.7785 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.8264, allocations: 7.922 kB / 0.7785 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.8265, allocations: 8 kB / 0.7785 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.8266, allocations: 49 kB / 0.7785 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8266, allocations: 0 / 0.7785 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.8267, allocations: 3.688 kB / 0.7785 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8267, allocations: 0 / 0.7785 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.8267, allocations: 27.27 kB / 0.7786 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.8272, allocations: 278.9 kB / 0.7788 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.395e-05/0.8273, allocations: 37.83 kB / 0.7789 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.8273, allocations: 12.36 kB / 0.7789 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.8275, allocations: 94.17 kB / 0.779 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.8275, allocations: 34.52 kB / 0.779 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8275, allocations: 0 / 0.779 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001737/0.8277, allocations: 52.95 kB / 0.7791 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.8278, allocations: 59.39 kB / 0.7791 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.8279, allocations: 104.6 kB / 0.7792 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.8279, allocations: 29.64 kB / 0.7792 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.8279, allocations: 95.7 kB / 0.7793 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.828, allocations: 15.36 kB / 0.7793 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.828, allocations: 0 / 0.7793 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8281, allocations: 314.8 kB / 0.7796 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.8282, allocations: 7.438 kB / 0.7797 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.8282, allocations: 11.56 kB / 0.7797 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.8282, allocations: 11.55 kB / 0.7797 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.8282, allocations: 0 / 0.7797 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.526e-05/0.8283, allocations: 49.14 kB / 0.7797 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8284, allocations: 8.781 kB / 0.7797 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8284, allocations: 0 / 0.7797 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8284, allocations: 11.88 kB / 0.7797 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.8285, allocations: 27.91 kB / 0.7798 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.8286, allocations: 4 kB / 0.7798 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.8287, allocations: 15.98 kB / 0.7798 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.8287, allocations: 0 / 0.7798 GB, free: 11.83 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 7.272e-05/0.8287, allocations: 105 kB / 0.7799 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.8288, allocations: 7.594 kB / 0.7799 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.8289, allocations: 61.45 kB / 0.78 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.8289, allocations: 7.953 kB / 0.78 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8289, allocations: 4 kB / 0.78 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.829, allocations: 0 / 0.78 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.8291, allocations: 169.1 kB / 0.7801 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8291, allocations: 4 kB / 0.7801 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.8293, allocations: 23.48 kB / 0.7802 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8293, allocations: 4 kB / 0.7802 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.8293, allocations: 0 / 0.7802 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8293, allocations: 4 kB / 0.7802 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8293, allocations: 3.953 kB / 0.7802 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.8294, allocations: 146.3 kB / 0.7803 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.8295, allocations: 85.09 kB / 0.7804 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.8295, allocations: 0 / 0.7804 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.8296, allocations: 19.73 kB / 0.7804 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.8297, allocations: 4 kB / 0.7804 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.8297, allocations: 7.938 kB / 0.7804 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.401e-05/0.8298, allocations: 97.28 kB / 0.7805 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8298, allocations: 0 / 0.7805 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002093/0.83, allocations: 19.5 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.0004956/0.8305, allocations: 0.7226 MB / 0.7812 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.8306, allocations: 18.44 kB / 0.7813 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8306, allocations: 4 kB / 0.7813 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.8307, allocations: 15.38 kB / 0.7813 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.8308, allocations: 11.42 kB / 0.7813 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.8312, allocations: 110.5 kB / 0.7814 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.8315, allocations: 0.6926 MB / 0.7821 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.915e-05/0.8316, allocations: 8.234 kB / 0.7821 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.8316, allocations: 13.5 kB / 0.7821 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.8316, allocations: 0 / 0.7821 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.845, allocations: 2.336 MB / 0.7844 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.8452, allocations: 160.6 kB / 0.7845 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/2.333, allocations: 0 / 0.7845 GB, free: 6.918 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)