Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_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.001526/0.001525, allocations: 98.92 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.001836/0.001836, 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.43/2.43, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.298/1.298, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005468/0.0005468, allocations: 8 kB / 0.5033 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9286/0.9292, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002274/0.9315, allocations: 0.9819 MB / 0.5839 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.9332, allocations: 0.7471 MB / 0.5847 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.9332, allocations: 4 kB / 0.5847 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.9333, allocations: 0.7031 kB / 0.5847 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.594e-05/0.9334, allocations: 1.766 kB / 0.5847 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.9343, allocations: 117.9 kB / 0.5848 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.9345, allocations: 13.95 kB / 0.5848 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.9346, allocations: 1.781 kB / 0.5848 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.9347, allocations: 19.22 kB / 0.5848 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.9348, allocations: 6.875 kB / 0.5848 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.9349, allocations: 5.188 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008531/0.9357, allocations: 178.2 kB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.9358, allocations: 2.688 kB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.9358, allocations: 29.17 kB / 0.585 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.9363, allocations: 95.91 kB / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.9363, allocations: 0 / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.9363, allocations: 0 / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.9364, allocations: 0.875 kB / 0.5851 GB, free: 2.574 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.0008434/0.9372, allocations: 359.1 kB / 0.5855 GB, free: 2.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001065/0.9373, allocations: 10.03 kB / 0.5855 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.9374, allocations: 35.62 kB / 0.5855 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.9375, allocations: 7.031 kB / 0.5855 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.9377, allocations: 161.3 kB / 0.5857 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.9379, allocations: 29.39 kB / 0.5857 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.9379, allocations: 1.094 kB / 0.5857 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.9381, allocations: 43.5 kB / 0.5857 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.9382, allocations: 1 kB / 0.5857 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.9382, allocations: 4 kB / 0.5857 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.9382, allocations: 1.25 kB / 0.5857 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.9384, allocations: 25.89 kB / 0.5858 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.9386, allocations: 158.5 kB / 0.5859 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.939, allocations: 46.88 kB / 0.586 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.9395, allocations: 181.6 kB / 0.5861 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.9396, allocations: 35.97 kB / 0.5862 GB, free: 1.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.9396, allocations: 0 / 0.5862 GB, free: 1.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000401/0.94, allocations: 68.38 kB / 0.5862 GB, free: 1.371 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.9401, allocations: 56.64 kB / 0.5863 GB, free: 1.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.9402, allocations: 95.97 kB / 0.5864 GB, free: 1.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.9402, allocations: 25.7 kB / 0.5864 GB, free: 1.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.9402, allocations: 89.27 kB / 0.5865 GB, free: 1.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.9403, allocations: 9.547 kB / 0.5865 GB, free: 1.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.9403, allocations: 0.9375 kB / 0.5865 GB, free: 1.078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9404, allocations: 321 kB / 0.5868 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.9405, allocations: 11.39 kB / 0.5868 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.092e-05/0.9406, allocations: 8.312 kB / 0.5868 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.792e-05/0.9406, allocations: 12.42 kB / 0.5868 GB, free: 0.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9407, allocations: 0 / 0.5868 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001793/0.9408, allocations: 64.8 kB / 0.5869 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.9409, allocations: 9.953 kB / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.9409, allocations: 0 / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.9409, allocations: 0 / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.941, allocations: 8.859 kB / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.941, allocations: 0 / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.9411, allocations: 7.438 kB / 0.5869 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.9411, allocations: 4.688 kB / 0.5869 GB, free: 0.6914 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 9.414e-05/0.9412, allocations: 116.3 kB / 0.587 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.9412, allocations: 1.812 kB / 0.587 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.9415, allocations: 63.91 kB / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.9415, allocations: 1.188 kB / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.9415, allocations: 0.5625 kB / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9415, allocations: 3.938 kB / 0.5871 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.9416, allocations: 159.6 kB / 0.5872 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9417, allocations: 0 / 0.5872 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.9417, allocations: 8.578 kB / 0.5873 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.9417, allocations: 5.031 kB / 0.5873 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.9417, allocations: 5.312 kB / 0.5873 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.9417, allocations: 0.8906 kB / 0.5873 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9418, allocations: 0 / 0.5873 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.9419, allocations: 86.33 kB / 0.5874 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.942, allocations: 86.14 kB / 0.5874 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.942, allocations: 0.6562 kB / 0.5874 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.9421, allocations: 7.438 kB / 0.5874 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.9422, allocations: 2.828 kB / 0.5874 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.9422, allocations: 2.328 kB / 0.5874 GB, free: 140 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.142e-05/0.9422, allocations: 82.72 kB / 0.5875 GB, free: 60 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9422, allocations: 7.875 kB / 0.5875 GB, free: 52 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.9426, allocations: 28.22 kB / 0.5876 GB, free: 48 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 (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 Backend phase and start with SimCode phase: time 0.0008567/0.9435, allocations: 0.662 MB / 0.5882 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.9437, allocations: 25.69 kB / 0.5882 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.9437, allocations: 0 / 0.5882 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/0.9438, allocations: 20.03 kB / 0.5882 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.9441, allocations: 9.438 kB / 0.5883 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.9447, allocations: 179.3 kB / 0.5884 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.945, allocations: 0.6795 MB / 0.5891 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.608e-05/0.9451, allocations: 7.781 kB / 0.5891 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.9451, allocations: 14.44 kB / 0.5891 GB, free: 14.53 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.9451, allocations: 0 / 0.5891 GB, free: 14.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.9602, allocations: 1.687 MB / 0.5908 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.9605, allocations: 184.2 kB / 0.5909 GB, free: 14.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.718, allocations: 0 / 0.5909 GB, free: 14.13 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: