Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",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.001034/0.001034, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001239/0.001239, allocations: 168.7 kB / 15.95 MB, free: 204 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.417/1.417, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7651/0.7651, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003124, allocations: 8 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4882, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001687/0.4899, allocations: 1.197 MB / 0.5843 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.4911, allocations: 0.7646 MB / 0.5851 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.4912, allocations: 7.938 kB / 0.5851 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.4912, allocations: 1.234 kB / 0.5851 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.4913, allocations: 6.797 kB / 0.5851 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.4917, allocations: 112 kB / 0.5852 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.4918, allocations: 47.81 kB / 0.5852 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.4919, allocations: 16.28 kB / 0.5852 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.4919, allocations: 18.28 kB / 0.5853 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.492, allocations: 24.03 kB / 0.5853 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.492, allocations: 2.219 kB / 0.5853 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.4924, allocations: 165 kB / 0.5854 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.4924, allocations: 7.109 kB / 0.5854 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.4924, allocations: 32.83 kB / 0.5855 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.4927, allocations: 100.9 kB / 0.5856 GB, free: 2.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4927, allocations: 0 / 0.5856 GB, free: 2.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4927, allocations: 1.094 kB / 0.5856 GB, free: 2.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4927, allocations: 0 / 0.5856 GB, free: 2.375 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004875/0.4932, allocations: 404.4 kB / 0.586 GB, free: 1.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4932, allocations: 8.688 kB / 0.586 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.4933, allocations: 41.14 kB / 0.586 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.4933, allocations: 6.641 kB / 0.586 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.151e-05/0.4934, allocations: 184 kB / 0.5862 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.4934, allocations: 4 kB / 0.5862 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.4935, allocations: 3.875 kB / 0.5862 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.4937, allocations: 79.84 kB / 0.5863 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.4937, allocations: 0.75 kB / 0.5863 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4938, allocations: 8.969 kB / 0.5863 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4938, allocations: 1 kB / 0.5863 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.4941, allocations: 96.44 kB / 0.5864 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.4944, allocations: 274.8 kB / 0.5866 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.4946, allocations: 69.52 kB / 0.5867 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.4948, allocations: 46.62 kB / 0.5867 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.4949, allocations: 93.22 kB / 0.5868 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.495, allocations: 44.2 kB / 0.5869 GB, free: 1.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.495, allocations: 0 / 0.5869 GB, free: 1.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005425/0.4955, allocations: 163.6 kB / 0.587 GB, free: 1.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.4956, allocations: 51.41 kB / 0.5871 GB, free: 1.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.4957, allocations: 120.8 kB / 0.5872 GB, free: 0.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.4957, allocations: 29.7 kB / 0.5872 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.4957, allocations: 88.02 kB / 0.5873 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.4957, allocations: 15.3 kB / 0.5873 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.4957, allocations: 0 / 0.5873 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.4958, allocations: 317.6 kB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.4959, allocations: 44.72 kB / 0.5877 GB, free: 0.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4961, allocations: 41.66 kB / 0.5877 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.4962, allocations: 48.22 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4962, allocations: 0 / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000313/0.4966, allocations: 119.1 kB / 0.5879 GB, free: 452 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4966, allocations: 9.453 kB / 0.5879 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4966, allocations: 0 / 0.5879 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4966, allocations: 2.094 kB / 0.5879 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.4967, allocations: 23.47 kB / 0.5879 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4968, allocations: 0.6562 kB / 0.5879 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.4968, allocations: 16.58 kB / 0.5879 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.4969, allocations: 5.188 kB / 0.5879 GB, free: 440 kB / 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 (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 5.438e-05/0.4969, allocations: 114.3 kB / 0.588 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.4969, allocations: 10.69 kB / 0.588 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.4973, allocations: 141.4 kB / 0.5882 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4973, allocations: 1.375 kB / 0.5882 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4973, allocations: 4 kB / 0.5882 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4973, allocations: 0.75 kB / 0.5882 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.4975, allocations: 169.1 kB / 0.5883 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4975, allocations: 4.688 kB / 0.5884 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.235e-05/0.4976, allocations: 19.98 kB / 0.5884 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4976, allocations: 1.125 kB / 0.5884 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4976, allocations: 4.75 kB / 0.5884 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4976, allocations: 4.953 kB / 0.5884 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4976, allocations: 0 / 0.5884 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.498, allocations: 222.8 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4981, allocations: 79.56 kB / 0.5887 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.4981, allocations: 1.656 kB / 0.5887 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4982, allocations: 20.05 kB / 0.5887 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.4983, allocations: 12.89 kB / 0.5887 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4983, allocations: 0.9062 kB / 0.5887 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.4e-05/0.4983, allocations: 91.56 kB / 0.5888 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4983, allocations: 0 / 0.5888 GB, free: 15.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.4986, allocations: 35.92 kB / 0.5888 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 (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.000729/0.4994, allocations: 0.7771 MB / 0.5896 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.4998, allocations: 94.06 kB / 0.5897 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4998, allocations: 0 / 0.5897 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.4999, allocations: 44.95 kB / 0.5897 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.5002, allocations: 22.33 kB / 0.5897 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.5014, allocations: 0.5754 MB / 0.5903 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.5017, allocations: 0.6818 MB / 0.591 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.601e-05/0.5017, allocations: 3.141 kB / 0.591 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.5018, allocations: 15.02 kB / 0.591 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5018, allocations: 4 kB / 0.591 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.516, allocations: 2.072 MB / 0.593 GB, free: 13.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004926/0.5165, allocations: 183.3 kB / 0.5932 GB, free: 13.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.268, allocations: 0 / 0.5932 GB, free: 13.42 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: