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.001428/0.001428, 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.001273/0.001273, allocations: 193.9 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7982/0.7982, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 69.06 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4323, allocations: 80.19 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002635/0.435, allocations: 1.273 MB / 0.5814 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.4365, allocations: 0.831 MB / 0.5822 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.4365, allocations: 4.781 kB / 0.5822 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.4366, allocations: 0 / 0.5822 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.4366, allocations: 5.703 kB / 0.5823 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.4374, allocations: 138.5 kB / 0.5824 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.665e-05/0.4375, allocations: 24.27 kB / 0.5824 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.4376, allocations: 2.125 kB / 0.5824 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.4376, allocations: 7.344 kB / 0.5824 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.4377, allocations: 14.92 kB / 0.5824 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.4377, allocations: 2 kB / 0.5824 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.4381, allocations: 168.9 kB / 0.5826 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.4382, allocations: 6.703 kB / 0.5826 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.4382, allocations: 9.156 kB / 0.5826 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.4385, allocations: 124.6 kB / 0.5827 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4385, allocations: 0.7969 kB / 0.5827 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4385, allocations: 1.031 kB / 0.5827 GB, free: 2.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.4385, 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.0004067/0.4389, allocations: 357.2 kB / 0.5831 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4389, allocations: 10.09 kB / 0.5831 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.439, allocations: 31.45 kB / 0.5831 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.439, allocations: 8.062 kB / 0.5831 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.132e-05/0.4391, allocations: 166.6 kB / 0.5833 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.342e-05/0.4392, allocations: 34.55 kB / 0.5833 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.4392, allocations: 1.344 kB / 0.5833 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.4394, allocations: 51.62 kB / 0.5834 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4394, allocations: 1.281 kB / 0.5834 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4394, allocations: 3.984 kB / 0.5834 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4394, allocations: 0.75 kB / 0.5834 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4395, allocations: 18.06 kB / 0.5834 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.4397, allocations: 167.1 kB / 0.5835 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.4399, allocations: 46.09 kB / 0.5836 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.44, allocations: 21.97 kB / 0.5836 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.4402, allocations: 177.6 kB / 0.5838 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.4403, allocations: 43.84 kB / 0.5838 GB, free: 1.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4403, allocations: 0 / 0.5838 GB, free: 1.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000258/0.4405, allocations: 65.8 kB / 0.5839 GB, free: 1.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.4406, allocations: 51.41 kB / 0.5839 GB, free: 1.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.203e-05/0.4406, allocations: 99.19 kB / 0.584 GB, free: 1.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.4406, allocations: 27.05 kB / 0.5841 GB, free: 1.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.419e-05/0.4407, allocations: 84.14 kB / 0.5841 GB, free: 1.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.4407, allocations: 11.77 kB / 0.5841 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.4407, allocations: 22.36 kB / 0.5842 GB, free: 1.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.4408, allocations: 312.3 kB / 0.5845 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.4408, allocations: 11.95 kB / 0.5845 GB, free: 1.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.4409, allocations: 12.92 kB / 0.5845 GB, free: 1.059 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.441, allocations: 28.64 kB / 0.5845 GB, free: 1.043 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.441, allocations: 0 / 0.5845 GB, free: 1.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.4411, allocations: 52.66 kB / 0.5846 GB, free: 1.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4412, allocations: 13.89 kB / 0.5846 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4412, allocations: 0 / 0.5846 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4412, allocations: 1.312 kB / 0.5846 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.4413, allocations: 12.34 kB / 0.5846 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.4413, allocations: 0 / 0.5846 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.4413, allocations: 2.859 kB / 0.5846 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4413, allocations: 1.922 kB / 0.5846 GB, free: 0.9961 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 6.257e-05/0.4414, allocations: 115.3 kB / 0.5847 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.4414, allocations: 5.875 kB / 0.5847 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.4416, allocations: 68.62 kB / 0.5848 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.4416, allocations: 1.406 kB / 0.5848 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4416, allocations: 0 / 0.5848 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4417, allocations: 2.406 kB / 0.5848 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.714e-05/0.4418, allocations: 161.8 kB / 0.5849 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4418, allocations: 0.7031 kB / 0.5849 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.4418, allocations: 12.16 kB / 0.5849 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4418, allocations: 3.938 kB / 0.585 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.4418, allocations: 5.969 kB / 0.585 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4419, allocations: 4 kB / 0.585 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4419, allocations: 8.531 kB / 0.585 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.442, allocations: 79.41 kB / 0.585 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.4421, allocations: 94.02 kB / 0.5851 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.4421, allocations: 0 / 0.5851 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.4422, allocations: 3.922 kB / 0.5851 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.4422, allocations: 3.297 kB / 0.5851 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.4422, allocations: 5.469 kB / 0.5851 GB, free: 428 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.675e-05/0.4422, allocations: 82.67 kB / 0.5852 GB, free: 348 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4422, allocations: 0.875 kB / 0.5852 GB, free: 348 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.4425, allocations: 32.38 kB / 0.5853 GB, free: 340 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.0005187/0.443, allocations: 0.6577 MB / 0.5859 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.4432, allocations: 26.23 kB / 0.5859 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4432, allocations: 0.75 kB / 0.5859 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.4433, allocations: 19.55 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.0002694/0.4436, allocations: 6.281 kB / 0.5859 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.444, allocations: 172.4 kB / 0.5861 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.4443, allocations: 0.6769 MB / 0.5868 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.557e-05/0.4443, allocations: 7.297 kB / 0.5868 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.4443, allocations: 14.02 kB / 0.5868 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4443, allocations: 4 kB / 0.5868 GB, free: 14.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.4631, allocations: 1.906 MB / 0.5887 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.717, allocations: 1.906 kB / 0.5887 GB, free: 14.45 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)