Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.0008834/0.0008837, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001397/0.001398, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7743/0.7743, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003168, allocations: 8 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5128/0.5131, allocations: 81.58 MB / 0.5832 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001272/0.5144, allocations: 0.9895 MB / 0.5841 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.5156, allocations: 0.813 MB / 0.5849 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.5157, allocations: 1.281 kB / 0.5849 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.5157, allocations: 0.7031 kB / 0.5849 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.5157, allocations: 5.938 kB / 0.5849 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.5163, allocations: 158.6 kB / 0.5851 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.5163, allocations: 12.66 kB / 0.5851 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.5164, allocations: 3.203 kB / 0.5851 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.5164, allocations: 12.33 kB / 0.5851 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.5165, allocations: 8.328 kB / 0.5851 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.5165, allocations: 0.9375 kB / 0.5851 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.5168, allocations: 172.2 kB / 0.5853 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.397e-06/0.5168, allocations: 2.391 kB / 0.5853 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.5169, allocations: 31.61 kB / 0.5853 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.5171, allocations: 107 kB / 0.5854 GB, free: 2.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5171, allocations: 3.938 kB / 0.5854 GB, free: 2.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5171, allocations: 1.094 kB / 0.5854 GB, free: 2.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.5171, allocations: 0 / 0.5854 GB, free: 2.477 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003354/0.5174, allocations: 357 kB / 0.5858 GB, free: 2.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5175, allocations: 10.89 kB / 0.5858 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.721e-05/0.5175, allocations: 35.94 kB / 0.5858 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.5177, allocations: 11.83 kB / 0.5858 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.117e-05/0.5178, allocations: 165 kB / 0.586 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.5178, allocations: 5.25 kB / 0.586 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.5178, allocations: 5.922 kB / 0.586 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.5179, allocations: 41.31 kB / 0.586 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5179, allocations: 1.281 kB / 0.586 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.518, allocations: 3.938 kB / 0.586 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.518, allocations: 0.5 kB / 0.586 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/0.518, allocations: 19.72 kB / 0.586 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.5182, allocations: 153.8 kB / 0.5862 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/0.5189, allocations: 128.8 kB / 0.5863 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.519, allocations: 19.09 kB / 0.5863 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.633e-05/0.5191, allocations: 83.86 kB / 0.5864 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.5191, allocations: 31.86 kB / 0.5864 GB, free: 1.422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.5191, allocations: 0.6562 kB / 0.5864 GB, free: 1.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000161/0.5193, allocations: 65.89 kB / 0.5865 GB, free: 1.375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.5193, allocations: 53.25 kB / 0.5866 GB, free: 1.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.804e-05/0.5194, allocations: 100 kB / 0.5866 GB, free: 1.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.5194, allocations: 25.7 kB / 0.5867 GB, free: 1.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.504e-05/0.5194, allocations: 82.06 kB / 0.5868 GB, free: 1.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.5194, allocations: 17.8 kB / 0.5868 GB, free: 1.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5194, allocations: 1.312 kB / 0.5868 GB, free: 1.078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.5195, allocations: 311.5 kB / 0.5871 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.5195, allocations: 9.469 kB / 0.5871 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.5195, allocations: 6.812 kB / 0.5871 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.5196, allocations: 9.109 kB / 0.5871 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5196, allocations: 4.875 kB / 0.5871 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.942e-05/0.5197, allocations: 56.81 kB / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5197, allocations: 7.469 kB / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5197, allocations: 1.453 kB / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.5197, allocations: 0 / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.5198, allocations: 7.531 kB / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.5198, allocations: 0.5938 kB / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.5198, allocations: 4.594 kB / 0.5872 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.5198, allocations: 6.938 kB / 0.5872 GB, free: 0.7031 MB / 430.1 MB 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 (4): * Single equations (assignments): 4 * 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 5.109e-05/0.5199, allocations: 115.2 kB / 0.5873 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.5199, allocations: 7.078 kB / 0.5873 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.5201, allocations: 74.59 kB / 0.5874 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5202, allocations: 3.984 kB / 0.5874 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5202, allocations: 5.75 kB / 0.5874 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5202, allocations: 3.938 kB / 0.5874 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.028e-05/0.5203, allocations: 167.6 kB / 0.5875 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5203, allocations: 0 / 0.5875 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.5203, allocations: 9.344 kB / 0.5875 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5203, allocations: 0.6562 kB / 0.5875 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.5204, allocations: 0.9375 kB / 0.5875 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5204, allocations: 4.719 kB / 0.5876 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5204, allocations: 0.9688 kB / 0.5876 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.5205, allocations: 93.17 kB / 0.5876 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.5205, allocations: 80.59 kB / 0.5877 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.5205, allocations: 2.172 kB / 0.5877 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.627e-05/0.5206, allocations: 5.469 kB / 0.5877 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.5206, allocations: 3.016 kB / 0.5877 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.5206, allocations: 2.203 kB / 0.5877 GB, free: 124 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.705e-05/0.5207, allocations: 76.12 kB / 0.5878 GB, free: 48 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5207, allocations: 3.938 kB / 0.5878 GB, free: 44 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.5209, allocations: 42.47 kB / 0.5878 GB, free: 40 kB / 430.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 (5): * Single equations (assignments): 5 * 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.0006642/0.5216, allocations: 0.6938 MB / 0.5885 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.5217, allocations: 26.53 kB / 0.5886 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5217, allocations: 4 kB / 0.5886 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/0.5218, allocations: 17.06 kB / 0.5886 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.522, allocations: 6.969 kB / 0.5886 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.5224, allocations: 176.6 kB / 0.5887 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.5226, allocations: 0.6771 MB / 0.5894 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.043e-05/0.5227, allocations: 19.11 kB / 0.5894 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.5228, allocations: 15.03 kB / 0.5894 GB, free: 14.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5228, allocations: 0 / 0.5894 GB, free: 14.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.537, allocations: 1.692 MB / 0.5911 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.5373, allocations: 235.3 kB / 0.5913 GB, free: 14.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.243, allocations: 0.5625 kB / 0.5913 GB, free: 14.12 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) Environment - environmentSimulation: