Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_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.00897/0.008971, allocations: 97.23 kB / 15.73 MB, free: 6.059 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.001839/0.001839, allocations: 192.9 kB / 16.67 MB, free: 5.965 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9548/0.9548, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 0.5851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.424, allocations: 80.91 MB / 0.6642 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001937/0.426, allocations: 1.27 MB / 0.6654 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.4271, allocations: 0.8261 MB / 0.6662 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.4271, allocations: 5.281 kB / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.4271, allocations: 0 / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.4272, allocations: 5.406 kB / 0.6662 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.4276, allocations: 127.5 kB / 0.6663 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.586e-05/0.4277, allocations: 24.39 kB / 0.6664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.4278, allocations: 5.203 kB / 0.6664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.4278, allocations: 14.12 kB / 0.6664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.4279, allocations: 13.33 kB / 0.6664 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.4279, allocations: 5.25 kB / 0.6664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.4282, allocations: 169.5 kB / 0.6666 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.4282, allocations: 5.406 kB / 0.6666 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.4282, allocations: 7.969 kB / 0.6666 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.4285, allocations: 123.9 kB / 0.6667 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4285, allocations: 0 / 0.6667 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4285, allocations: 0 / 0.6667 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.4285, allocations: 1.406 kB / 0.6667 GB, free: 5.316 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003537/0.4288, allocations: 373.9 kB / 0.6671 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4289, allocations: 9.344 kB / 0.6671 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.443e-05/0.4289, allocations: 36.06 kB / 0.6671 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.429, allocations: 7.562 kB / 0.6671 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.719e-05/0.429, allocations: 169.7 kB / 0.6673 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/0.4291, allocations: 28.95 kB / 0.6673 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.4291, allocations: 1.688 kB / 0.6673 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.4292, allocations: 49.72 kB / 0.6673 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4293, allocations: 1.438 kB / 0.6673 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.4293, allocations: 4 kB / 0.6673 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4293, allocations: 1.469 kB / 0.6673 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.164e-05/0.4294, allocations: 18.02 kB / 0.6674 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.4295, allocations: 154.1 kB / 0.6675 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.4297, allocations: 46.05 kB / 0.6676 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.4298, allocations: 20.44 kB / 0.6676 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.43, allocations: 185.5 kB / 0.6678 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.4301, allocations: 34.5 kB / 0.6678 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4301, allocations: 1.438 kB / 0.6678 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002242/0.4303, allocations: 68.16 kB / 0.6679 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.4303, allocations: 53.03 kB / 0.6679 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.81e-05/0.4304, allocations: 104.4 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.4304, allocations: 27.11 kB / 0.668 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.4304, allocations: 80.14 kB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.4304, allocations: 9.188 kB / 0.6681 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.4305, allocations: 18.12 kB / 0.6681 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.564e-05/0.4305, allocations: 310.8 kB / 0.6684 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.4306, allocations: 13.58 kB / 0.6684 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.4306, allocations: 9.906 kB / 0.6685 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.682e-05/0.4307, allocations: 38.28 kB / 0.6685 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4307, allocations: 0 / 0.6685 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000118/0.4308, allocations: 55.83 kB / 0.6685 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.4308, allocations: 9.188 kB / 0.6685 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4309, allocations: 1.094 kB / 0.6685 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4309, allocations: 0 / 0.6685 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.4309, allocations: 6.625 kB / 0.6686 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4309, allocations: 1.438 kB / 0.6686 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.431, allocations: 17.2 kB / 0.6686 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.431, allocations: 5.453 kB / 0.6686 GB, free: 3.305 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 (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 4.474e-05/0.431, allocations: 111.3 kB / 0.6687 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.4311, allocations: 9.609 kB / 0.6687 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.4312, allocations: 67.66 kB / 0.6688 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4312, allocations: 0 / 0.6688 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.4312, allocations: 1.375 kB / 0.6688 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4312, allocations: 0 / 0.6688 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.283e-05/0.4313, allocations: 159.2 kB / 0.6689 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4313, allocations: 7.938 kB / 0.6689 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.4314, allocations: 10.95 kB / 0.6689 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4314, allocations: 3.938 kB / 0.6689 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.4314, allocations: 1.219 kB / 0.6689 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4314, allocations: 3.938 kB / 0.6689 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4314, allocations: 0 / 0.6689 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.4315, allocations: 84.61 kB / 0.669 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.4316, allocations: 87.86 kB / 0.6691 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.4316, allocations: 0 / 0.6691 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.4317, allocations: 2.062 kB / 0.6691 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.4317, allocations: 6.203 kB / 0.6691 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.4317, allocations: 1.094 kB / 0.6691 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.4318, allocations: 82.25 kB / 0.6692 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4318, allocations: 0 / 0.6692 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002611/0.432, allocations: 35.17 kB / 0.6692 GB, free: 2.621 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 (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.0003913/0.4324, allocations: 0.6685 MB / 0.6699 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.4326, allocations: 28.84 kB / 0.6699 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4326, allocations: 1.375 kB / 0.6699 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.4327, allocations: 13.31 kB / 0.6699 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.4329, allocations: 15.58 kB / 0.6699 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.4332, allocations: 162.2 kB / 0.6701 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.558e-05/0.4333, allocations: 0.678 MB / 0.6707 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.4334, allocations: 10.27 kB / 0.6708 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.4334, allocations: 14.47 kB / 0.6708 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4334, allocations: 0 / 0.6708 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.4529, allocations: 1.943 MB / 0.6727 GB, free: 0 / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/8.079, allocations: 11.83 kB / 0.6727 GB, free: 15.99 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)