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.0008309/0.0008307, 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.0008589/0.000859, 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.399/1.399, 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.7453/0.7453, allocations: 132.3 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 8 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4339, allocations: 81.58 MB / 0.5832 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001418/0.4354, allocations: 0.9904 MB / 0.5841 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.4367, allocations: 0.7942 MB / 0.5849 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.4367, allocations: 0 / 0.5849 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.4367, allocations: 0.7969 kB / 0.5849 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.4368, allocations: 5.766 kB / 0.5849 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.4372, allocations: 104 kB / 0.585 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.4373, allocations: 30 kB / 0.585 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.4373, allocations: 1.672 kB / 0.585 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.4374, allocations: 12.92 kB / 0.585 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.4374, allocations: 10.19 kB / 0.5851 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.4375, allocations: 1.188 kB / 0.5851 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.4378, allocations: 172.2 kB / 0.5852 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.4378, allocations: 3.016 kB / 0.5852 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.4379, allocations: 29.31 kB / 0.5853 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.438, allocations: 80.92 kB / 0.5853 GB, free: 2.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4381, allocations: 0 / 0.5853 GB, free: 2.523 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4381, allocations: 4.875 kB / 0.5853 GB, free: 2.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.4381, allocations: 0 / 0.5853 GB, free: 2.52 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.000375/0.4385, allocations: 357.7 kB / 0.5857 GB, free: 2.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4385, allocations: 9.719 kB / 0.5857 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.4386, allocations: 39.81 kB / 0.5857 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.4386, allocations: 7.016 kB / 0.5857 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.4387, allocations: 162.1 kB / 0.5859 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.634e-05/0.4388, allocations: 28.84 kB / 0.5859 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.4388, allocations: 5 kB / 0.5859 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.4389, allocations: 43.67 kB / 0.586 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.439, allocations: 4.719 kB / 0.586 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.439, allocations: 0.7812 kB / 0.586 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.439, allocations: 3.953 kB / 0.586 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/0.4391, allocations: 18.92 kB / 0.586 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.4392, allocations: 158.8 kB / 0.5861 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.4395, allocations: 53.91 kB / 0.5862 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.4395, allocations: 17.12 kB / 0.5862 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.4398, allocations: 183.2 kB / 0.5864 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.4398, allocations: 31.97 kB / 0.5864 GB, free: 1.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4398, allocations: 0 / 0.5864 GB, free: 1.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002318/0.4401, allocations: 76.3 kB / 0.5865 GB, free: 1.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.4401, allocations: 52.06 kB / 0.5865 GB, free: 1.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.185e-05/0.4401, allocations: 103.5 kB / 0.5866 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.4402, allocations: 26.98 kB / 0.5867 GB, free: 1.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.4402, allocations: 80.14 kB / 0.5867 GB, free: 1.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.4402, allocations: 7.625 kB / 0.5867 GB, free: 1.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4402, allocations: 4 kB / 0.5867 GB, free: 1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.4403, allocations: 312.2 kB / 0.587 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.4403, allocations: 11.8 kB / 0.5871 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.674e-05/0.4404, allocations: 16.98 kB / 0.5871 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.4404, allocations: 7.922 kB / 0.5871 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4404, allocations: 0 / 0.5871 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001258/0.4406, allocations: 59.56 kB / 0.5871 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4406, allocations: 12.42 kB / 0.5871 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4406, allocations: 3.938 kB / 0.5871 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4406, allocations: 1.062 kB / 0.5871 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.4407, allocations: 12.11 kB / 0.5872 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4407, allocations: 0.7031 kB / 0.5872 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.4407, allocations: 6 kB / 0.5872 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4407, allocations: 1.438 kB / 0.5872 GB, free: 0.6172 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.683e-05/0.4408, allocations: 112.7 kB / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.4408, allocations: 1.828 kB / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.441, allocations: 64.06 kB / 0.5873 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.441, allocations: 4.719 kB / 0.5873 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.441, allocations: 0.6562 kB / 0.5873 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.441, allocations: 0.6875 kB / 0.5873 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.046e-05/0.4411, allocations: 167.1 kB / 0.5875 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4411, allocations: 0 / 0.5875 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.4412, allocations: 9.234 kB / 0.5875 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4412, allocations: 0 / 0.5875 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.4412, allocations: 2.109 kB / 0.5875 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4412, allocations: 0 / 0.5875 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4412, allocations: 3.938 kB / 0.5875 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4413, allocations: 91.47 kB / 0.5876 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.4414, allocations: 89.08 kB / 0.5877 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.4414, allocations: 0.9062 kB / 0.5877 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.467e-05/0.4415, allocations: 3.406 kB / 0.5877 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.4415, allocations: 3.578 kB / 0.5877 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.4415, allocations: 1.328 kB / 0.5877 GB, free: 60 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.006e-05/0.4415, allocations: 79.75 kB / 0.5878 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4416, allocations: 4 kB / 0.5878 GB, free: 15.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000246/0.4418, allocations: 39.5 kB / 0.5878 GB, free: 15.96 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 (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.0005544/0.4424, allocations: 0.6507 MB / 0.5885 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.4425, allocations: 33.7 kB / 0.5885 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4425, allocations: 4 kB / 0.5885 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.4426, allocations: 15.7 kB / 0.5885 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.4428, allocations: 9.234 kB / 0.5885 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.4433, allocations: 176 kB / 0.5887 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4436, allocations: 0.6815 MB / 0.5893 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.82e-05/0.4436, allocations: 14.53 kB / 0.5894 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.4437, allocations: 10.58 kB / 0.5894 GB, free: 14.45 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4437, allocations: 0.75 kB / 0.5894 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.4571, allocations: 1.7 MB / 0.591 GB, free: 14.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.4573, allocations: 180.5 kB / 0.5912 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.17, allocations: 4 kB / 0.5912 GB, free: 14.05 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: