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.006654/0.006655, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00118/0.00118, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9609/0.9609, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.5851 GB, free: 3.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4186, allocations: 80.92 MB / 0.6641 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002244/0.4209, allocations: 1.484 MB / 0.6656 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.4221, allocations: 0.8085 MB / 0.6664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.4221, allocations: 1.281 kB / 0.6664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.4222, allocations: 3.938 kB / 0.6664 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.4223, allocations: 9.469 kB / 0.6664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.4227, allocations: 134.6 kB / 0.6665 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.334e-05/0.4228, allocations: 56.81 kB / 0.6666 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.4229, allocations: 18.91 kB / 0.6666 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.4229, allocations: 15.28 kB / 0.6666 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.423, allocations: 26.88 kB / 0.6666 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.423, allocations: 3.844 kB / 0.6666 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.4233, allocations: 177.3 kB / 0.6668 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.4233, allocations: 9.359 kB / 0.6668 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.4233, allocations: 21.53 kB / 0.6668 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.4236, allocations: 152.8 kB / 0.667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4236, allocations: 1.062 kB / 0.667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4236, allocations: 0 / 0.667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.4236, allocations: 0 / 0.667 GB, free: 5.121 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.0004648/0.4241, allocations: 400.4 kB / 0.6674 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4241, allocations: 17.45 kB / 0.6674 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.308e-05/0.4242, allocations: 31.97 kB / 0.6674 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.4242, allocations: 7.953 kB / 0.6674 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.34e-05/0.4243, allocations: 167 kB / 0.6676 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.4243, allocations: 1.938 kB / 0.6676 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.4243, allocations: 7.094 kB / 0.6676 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.4246, allocations: 74.36 kB / 0.6677 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.4246, allocations: 3.938 kB / 0.6677 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4246, allocations: 0 / 0.6677 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.4246, allocations: 5.344 kB / 0.6677 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.4249, allocations: 65.77 kB / 0.6677 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.4252, allocations: 294.2 kB / 0.668 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.4254, allocations: 57.34 kB / 0.6681 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.4255, allocations: 44.72 kB / 0.6681 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.4257, allocations: 89.34 kB / 0.6682 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.4257, allocations: 30.56 kB / 0.6682 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.4257, allocations: 0 / 0.6682 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005315/0.4262, allocations: 139.2 kB / 0.6684 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.882e-05/0.4263, allocations: 52.91 kB / 0.6684 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.4263, allocations: 119.9 kB / 0.6685 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.4264, allocations: 25.7 kB / 0.6685 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.4264, allocations: 90.73 kB / 0.6686 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.4264, allocations: 17.17 kB / 0.6687 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.4264, allocations: 12.34 kB / 0.6687 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.4265, allocations: 320.2 kB / 0.669 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4266, allocations: 41.52 kB / 0.669 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4268, allocations: 25.91 kB / 0.669 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.427, allocations: 75.47 kB / 0.6691 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.427, allocations: 0 / 0.6691 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003067/0.4274, allocations: 98.19 kB / 0.6692 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4274, allocations: 10.38 kB / 0.6692 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4274, allocations: 0 / 0.6692 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4274, allocations: 0 / 0.6692 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.4275, allocations: 18.69 kB / 0.6692 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4275, allocations: 0 / 0.6692 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.4276, allocations: 15.02 kB / 0.6692 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.4276, allocations: 1.406 kB / 0.6692 GB, free: 2.949 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 4.558e-05/0.4277, allocations: 116.6 kB / 0.6694 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.4277, allocations: 10.7 kB / 0.6694 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.4281, allocations: 108 kB / 0.6695 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4281, allocations: 1.156 kB / 0.6695 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4281, allocations: 0 / 0.6695 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4281, allocations: 1.125 kB / 0.6695 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.4283, allocations: 174.6 kB / 0.6696 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4283, allocations: 0 / 0.6696 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4284, allocations: 18.55 kB / 0.6697 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4284, allocations: 0 / 0.6697 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4284, allocations: 5.484 kB / 0.6697 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4284, allocations: 0 / 0.6697 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4284, allocations: 0 / 0.6697 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.4288, allocations: 198.1 kB / 0.6698 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.4288, allocations: 78.31 kB / 0.6699 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.4288, allocations: 9.547 kB / 0.6699 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4289, allocations: 14.03 kB / 0.6699 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.429, allocations: 10.12 kB / 0.67 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.429, allocations: 1.031 kB / 0.67 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.429, allocations: 92.2 kB / 0.67 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.429, allocations: 1.156 kB / 0.67 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002815/0.4293, allocations: 42.48 kB / 0.6701 GB, free: 2.133 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.0006048/0.4299, allocations: 0.7587 MB / 0.6708 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.4303, allocations: 76.12 kB / 0.6709 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4303, allocations: 0 / 0.6709 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.4304, allocations: 32.78 kB / 0.6709 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.4308, allocations: 25.59 kB / 0.671 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.4322, allocations: 1.417 MB / 0.6723 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.4324, allocations: 0.6847 MB / 0.673 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.4325, allocations: 6.547 kB / 0.673 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.4325, allocations: 14.38 kB / 0.673 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.4325, allocations: 3.938 kB / 0.673 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.4508, allocations: 2.445 MB / 0.6754 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.969, allocations: 9.391 kB / 0.6754 GB, free: 14 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)