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.001617/0.001618, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 194.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.14 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4202, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002838/0.4231, allocations: 1.271 MB / 0.5814 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.4246, allocations: 0.8266 MB / 0.5822 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.4246, allocations: 1.031 kB / 0.5822 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.4246, allocations: 4.547 kB / 0.5822 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.4247, allocations: 9.969 kB / 0.5823 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.4252, allocations: 134.1 kB / 0.5824 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.4253, allocations: 23.09 kB / 0.5824 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.4254, allocations: 2.562 kB / 0.5824 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.4254, allocations: 8.547 kB / 0.5824 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.4255, allocations: 18.47 kB / 0.5824 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.4255, allocations: 5.656 kB / 0.5824 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.4259, allocations: 161.6 kB / 0.5826 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.4259, allocations: 6.406 kB / 0.5826 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.426, allocations: 13.89 kB / 0.5826 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.4262, allocations: 112.1 kB / 0.5827 GB, free: 2.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4263, allocations: 4 kB / 0.5827 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4263, allocations: 0.7188 kB / 0.5827 GB, free: 2.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4263, allocations: 0 / 0.5827 GB, free: 2.922 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.0004684/0.4268, allocations: 364.3 kB / 0.5831 GB, free: 2.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4268, allocations: 9.906 kB / 0.5831 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.4268, allocations: 32.22 kB / 0.5831 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.4269, allocations: 10.81 kB / 0.5831 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.309e-05/0.427, allocations: 166.5 kB / 0.5833 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.641e-05/0.427, allocations: 39.23 kB / 0.5833 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.4271, allocations: 5.438 kB / 0.5833 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.4272, allocations: 48.05 kB / 0.5834 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4272, allocations: 0 / 0.5834 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4272, allocations: 1.219 kB / 0.5834 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4272, allocations: 0 / 0.5834 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.981e-05/0.4274, allocations: 14.73 kB / 0.5834 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.4275, allocations: 167.5 kB / 0.5835 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.4277, allocations: 48.55 kB / 0.5836 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.4278, allocations: 22.14 kB / 0.5836 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.4281, allocations: 181.5 kB / 0.5838 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4282, allocations: 40.41 kB / 0.5838 GB, free: 1.723 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.4282, allocations: 0.7188 kB / 0.5838 GB, free: 1.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002816/0.4284, allocations: 71.42 kB / 0.5839 GB, free: 1.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4285, allocations: 53.28 kB / 0.5839 GB, free: 1.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.4285, allocations: 95.31 kB / 0.584 GB, free: 1.516 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.4286, allocations: 26.42 kB / 0.5841 GB, free: 1.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.633e-05/0.4286, allocations: 85.23 kB / 0.5841 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.4286, allocations: 15.14 kB / 0.5842 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.4287, allocations: 13.16 kB / 0.5842 GB, free: 1.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.4287, allocations: 321.1 kB / 0.5845 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.4288, allocations: 8.203 kB / 0.5845 GB, free: 1.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.4288, allocations: 12.14 kB / 0.5845 GB, free: 1.047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.11e-05/0.4289, allocations: 25.75 kB / 0.5845 GB, free: 1.035 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4289, allocations: 0 / 0.5845 GB, free: 1.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001314/0.4291, allocations: 60.47 kB / 0.5846 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4291, allocations: 9.125 kB / 0.5846 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4291, allocations: 5.906 kB / 0.5846 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4291, allocations: 0 / 0.5846 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.4292, allocations: 7.781 kB / 0.5846 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4292, allocations: 0.5156 kB / 0.5846 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.4292, allocations: 2.891 kB / 0.5846 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4292, allocations: 1.094 kB / 0.5846 GB, free: 0.9844 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.4293, allocations: 108.2 kB / 0.5847 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.4293, allocations: 5.781 kB / 0.5847 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.4295, allocations: 76.62 kB / 0.5848 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4295, allocations: 1.188 kB / 0.5848 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4295, allocations: 0 / 0.5848 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4295, allocations: 0.5625 kB / 0.5848 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.765e-05/0.4297, allocations: 159.5 kB / 0.5849 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4297, allocations: 0 / 0.5849 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.4297, allocations: 8.734 kB / 0.5849 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4297, allocations: 8.578 kB / 0.585 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4297, allocations: 1.219 kB / 0.585 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4297, allocations: 0 / 0.585 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4298, allocations: 4.75 kB / 0.585 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.4299, allocations: 87.84 kB / 0.585 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.43, allocations: 93.27 kB / 0.5851 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.43, allocations: 1.766 kB / 0.5851 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.4301, allocations: 6.75 kB / 0.5851 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.4301, allocations: 7.281 kB / 0.5851 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4301, allocations: 0.9375 kB / 0.5851 GB, free: 420 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.669e-05/0.4301, allocations: 83.69 kB / 0.5852 GB, free: 340 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4302, allocations: 0 / 0.5852 GB, free: 340 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.4304, allocations: 37.02 kB / 0.5853 GB, free: 328 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000626/0.4311, allocations: 0.6496 MB / 0.5859 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.4313, allocations: 35.64 kB / 0.5859 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4313, allocations: 0 / 0.5859 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.661e-05/0.4313, allocations: 15.11 kB / 0.5859 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.4316, allocations: 11.75 kB / 0.586 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.4321, allocations: 163.1 kB / 0.5861 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.4323, allocations: 0.681 MB / 0.5868 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.4324, allocations: 11.45 kB / 0.5868 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.4324, allocations: 10.84 kB / 0.5868 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4324, allocations: 0 / 0.5868 GB, free: 14.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.451, allocations: 1.902 MB / 0.5887 GB, free: 14.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.201, allocations: 4.312 kB / 0.5887 GB, free: 14.44 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/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)