Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001612/0.001612, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.576/2.576, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.162/1.162, allocations: 132.2 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005997/0.0005999, allocations: 8 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9197/0.9203, allocations: 81.57 MB / 0.583 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003517/0.924, allocations: 1.34 MB / 0.5843 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.9251, allocations: 351.7 kB / 0.5846 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.9252, allocations: 2.031 kB / 0.5846 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.976e-05/0.9253, allocations: 6.547 kB / 0.5846 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.9255, allocations: 25.41 kB / 0.5846 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.9262, allocations: 106.2 kB / 0.5847 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.9265, allocations: 74.11 kB / 0.5848 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.9268, allocations: 33.89 kB / 0.5848 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.9269, allocations: 30.11 kB / 0.5849 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.927, allocations: 29.3 kB / 0.5849 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.927, allocations: 3.531 kB / 0.5849 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.9273, allocations: 61.11 kB / 0.585 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.9274, allocations: 16.08 kB / 0.585 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.9275, allocations: 44.67 kB / 0.585 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.9278, allocations: 94.09 kB / 0.5851 GB, free: 2.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9278, allocations: 1.125 kB / 0.5851 GB, free: 2.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.9278, allocations: 0 / 0.5851 GB, free: 2.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.9278, allocations: 0 / 0.5851 GB, free: 2.453 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008231/0.9286, allocations: 401.8 kB / 0.5855 GB, free: 2.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/0.9287, allocations: 13.44 kB / 0.5855 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.255e-05/0.9288, allocations: 39.02 kB / 0.5855 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.9292, allocations: 40.39 kB / 0.5856 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.9295, allocations: 190 kB / 0.5858 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-05/0.9296, allocations: 36.36 kB / 0.5858 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.9296, allocations: 4.844 kB / 0.5858 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.9301, allocations: 113.1 kB / 0.5859 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.9301, allocations: 0.75 kB / 0.5859 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.9302, allocations: 8.734 kB / 0.5859 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.9302, allocations: 2.375 kB / 0.5859 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.9307, allocations: 97.17 kB / 0.586 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.9318, allocations: 387.3 kB / 0.5864 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/0.9327, allocations: 137.3 kB / 0.5865 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.9327, allocations: 2.078 kB / 0.5865 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.9328, allocations: 35.62 kB / 0.5865 GB, free: 1.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/0.9328, allocations: 3.938 kB / 0.5866 GB, free: 1.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007565/0.9335, allocations: 148.7 kB / 0.5867 GB, free: 1.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.9336, allocations: 56.38 kB / 0.5867 GB, free: 1.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.9338, allocations: 137.9 kB / 0.5869 GB, free: 1.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.9338, allocations: 29.64 kB / 0.5869 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.9339, allocations: 102 kB / 0.587 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.9339, allocations: 25.66 kB / 0.587 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.9339, allocations: 0 / 0.587 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.934, allocations: 320.4 kB / 0.5873 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.9342, allocations: 38.09 kB / 0.5874 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.9344, allocations: 48.83 kB / 0.5874 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.9347, allocations: 35.09 kB / 0.5874 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.9347, allocations: 4 kB / 0.5875 GB, free: 0.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004793/0.9352, allocations: 129.5 kB / 0.5876 GB, free: 444 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.9352, allocations: 5.312 kB / 0.5876 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.9353, allocations: 0.9688 kB / 0.5876 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.9353, allocations: 1.672 kB / 0.5876 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.9355, allocations: 23.48 kB / 0.5876 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.9355, allocations: 0.875 kB / 0.5876 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.9357, allocations: 22.48 kB / 0.5876 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.9357, allocations: 2.875 kB / 0.5876 GB, free: 428 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.000126/0.9359, allocations: 114.4 kB / 0.5877 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.9359, allocations: 12.27 kB / 0.5878 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.936, allocations: 19.38 kB / 0.5878 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.936, allocations: 1.438 kB / 0.5878 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.936, allocations: 0.5312 kB / 0.5878 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.936, allocations: 1.328 kB / 0.5878 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.9364, allocations: 206.4 kB / 0.588 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9364, allocations: 0 / 0.588 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.9366, allocations: 23.31 kB / 0.588 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.9366, allocations: 3.953 kB / 0.588 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.9366, allocations: 1.156 kB / 0.588 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.9366, allocations: 4.562 kB / 0.588 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.9366, allocations: 1 kB / 0.588 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.9373, allocations: 205.9 kB / 0.5882 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.9374, allocations: 96.39 kB / 0.5883 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.9375, allocations: 10.12 kB / 0.5883 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.9378, allocations: 14.33 kB / 0.5883 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.9379, allocations: 4.688 kB / 0.5883 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.9379, allocations: 3.609 kB / 0.5883 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.9381, allocations: 107.6 kB / 0.5884 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9382, allocations: 0 / 0.5884 GB, free: 15.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004845/0.9387, allocations: 21.38 kB / 0.5884 GB, free: 15.68 MB / 446.1 MB 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 (7): * Single equations (assignments): 7 * 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.001499/0.9402, allocations: 0.7402 MB / 0.5892 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004979/0.9407, allocations: 88.42 kB / 0.5893 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9407, allocations: 0 / 0.5893 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.9409, allocations: 45.22 kB / 0.5893 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.9415, allocations: 25.81 kB / 0.5893 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.9431, allocations: 0.584 MB / 0.5899 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009136/0.944, allocations: 0.7017 MB / 0.5906 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.9442, allocations: 12.34 kB / 0.5906 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.9443, allocations: 26.3 kB / 0.5906 GB, free: 13.69 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.9443, allocations: 0 / 0.5906 GB, free: 13.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.9696, allocations: 2.323 MB / 0.5929 GB, free: 13.52 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003866/0.9702, allocations: 185.4 kB / 0.5931 GB, free: 13.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/3.834, allocations: 0 / 0.5931 GB, free: 13.28 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) Environment - environmentSimulation: