Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_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.009476/0.009476, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.002191/0.002191, allocations: 199.1 kB / 16.68 MB, free: 5.969 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9765/0.9765, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3994, allocations: 81.04 MB / 0.6649 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003413/0.4029, allocations: 1.468 MB / 0.6663 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.4044, allocations: 0.815 MB / 0.6671 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.4045, allocations: 1.531 kB / 0.6671 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.4046, allocations: 3.938 kB / 0.6671 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.4047, allocations: 17.27 kB / 0.6671 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.4052, allocations: 123 kB / 0.6672 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.4053, allocations: 56.84 kB / 0.6673 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.4055, allocations: 14.45 kB / 0.6673 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.4056, allocations: 19.36 kB / 0.6673 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.4057, allocations: 34.77 kB / 0.6674 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.4057, allocations: 5.219 kB / 0.6674 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.4062, allocations: 168.7 kB / 0.6675 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.4062, allocations: 9.344 kB / 0.6675 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.4063, allocations: 25.22 kB / 0.6676 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.4067, allocations: 149.4 kB / 0.6677 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.4067, allocations: 0 / 0.6677 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.496e-06/0.4067, allocations: 0 / 0.6677 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.4067, allocations: 0 / 0.6677 GB, free: 4.836 MB / 0.4981 GB 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.0006402/0.4074, allocations: 404.7 kB / 0.6681 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.4075, allocations: 10.84 kB / 0.6681 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.4075, allocations: 34.73 kB / 0.6681 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.4075, allocations: 8.703 kB / 0.6681 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4077, allocations: 167.4 kB / 0.6683 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4077, allocations: 5.875 kB / 0.6683 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4077, allocations: 1.844 kB / 0.6683 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.408, allocations: 81.42 kB / 0.6684 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.408, allocations: 5.406 kB / 0.6684 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.408, allocations: 0 / 0.6684 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.408, allocations: 1.188 kB / 0.6684 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.4084, allocations: 69.58 kB / 0.6685 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.4087, allocations: 279.7 kB / 0.6687 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.4089, allocations: 63.62 kB / 0.6688 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4091, allocations: 43.62 kB / 0.6688 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.4093, allocations: 89.47 kB / 0.6689 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.4093, allocations: 36.06 kB / 0.6689 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4093, allocations: 0 / 0.6689 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005249/0.4098, allocations: 126.6 kB / 0.6691 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.4099, allocations: 52.78 kB / 0.6691 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.4099, allocations: 128.5 kB / 0.6692 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.4099, allocations: 25.7 kB / 0.6693 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.41, allocations: 94.92 kB / 0.6694 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.41, allocations: 9.125 kB / 0.6694 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.41, allocations: 16.05 kB / 0.6694 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.4101, allocations: 320.1 kB / 0.6697 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4102, allocations: 33.44 kB / 0.6697 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.4104, allocations: 38.33 kB / 0.6697 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.4106, allocations: 67.59 kB / 0.6698 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4106, allocations: 0 / 0.6698 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002987/0.4109, allocations: 97.88 kB / 0.6699 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.411, allocations: 5.812 kB / 0.6699 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.411, allocations: 0 / 0.6699 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.411, allocations: 1.062 kB / 0.6699 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4111, allocations: 18.89 kB / 0.6699 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4111, allocations: 0 / 0.6699 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.4112, allocations: 19.53 kB / 0.6699 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.4112, allocations: 0 / 0.6699 GB, free: 2.668 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.4113, allocations: 120.3 kB / 0.6701 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.4113, allocations: 6.562 kB / 0.6701 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.4116, allocations: 109.3 kB / 0.6702 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4117, allocations: 1.375 kB / 0.6702 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4117, allocations: 0 / 0.6702 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4117, allocations: 4 kB / 0.6702 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.4118, allocations: 179 kB / 0.6703 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4118, allocations: 0 / 0.6703 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.4119, allocations: 18.95 kB / 0.6704 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4119, allocations: 0 / 0.6704 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4119, allocations: 1.219 kB / 0.6704 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.412, allocations: 0 / 0.6704 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.412, allocations: 0 / 0.6704 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.4123, allocations: 205.2 kB / 0.6706 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.4123, allocations: 78.52 kB / 0.6706 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.4123, allocations: 1.25 kB / 0.6706 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4124, allocations: 10.55 kB / 0.6707 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.4125, allocations: 10.45 kB / 0.6707 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4125, allocations: 5.188 kB / 0.6707 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.4125, allocations: 104.4 kB / 0.6708 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4125, allocations: 0 / 0.6708 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002775/0.4128, allocations: 30.97 kB / 0.6708 GB, free: 1.848 MB / 0.4981 GB 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 (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.0005775/0.4134, allocations: 0.7618 MB / 0.6715 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.4137, allocations: 66.77 kB / 0.6716 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4138, allocations: 1.062 kB / 0.6716 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.4139, allocations: 44.8 kB / 0.6716 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.4142, allocations: 14.94 kB / 0.6717 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.4159, allocations: 1.425 MB / 0.6731 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.4163, allocations: 0.6809 MB / 0.6737 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.517e-05/0.4163, allocations: 2.344 kB / 0.6737 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.4164, allocations: 22.98 kB / 0.6737 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/0.4164, allocations: 0 / 0.6737 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.4402, allocations: 2.446 MB / 0.6761 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.442, allocations: 1.438 kB / 0.6761 GB, free: 13.72 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.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_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)