Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.006399/0.006399, allocations: 99.42 kB / 15.73 MB, free: 6.012 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.001209/0.00121, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 274.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003258/0.003258, allocations: 95.98 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2825, allocations: 86.97 MB / 0.7659 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00446/0.287, allocations: 1.486 MB / 0.7673 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2889, allocations: 0.8152 MB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.289, allocations: 4 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.2891, allocations: 3.938 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.204e-05/0.2892, allocations: 7.875 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00085/0.2901, allocations: 127.5 kB / 0.7683 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.2903, allocations: 59.7 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2904, allocations: 20.22 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.2905, allocations: 23.92 kB / 0.7684 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.167e-05/0.2906, allocations: 19.91 kB / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.2906, allocations: 4 kB / 0.7684 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.2912, allocations: 175.8 kB / 0.7686 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.2913, allocations: 7.938 kB / 0.7686 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.2914, allocations: 31.8 kB / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.2919, allocations: 143.5 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2919, allocations: 0 / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2919, allocations: 0 / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.2919, allocations: 4 kB / 0.7687 GB, free: 6.047 MB / 0.5606 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.0009012/0.2928, allocations: 398.9 kB / 0.7691 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.2929, allocations: 12.03 kB / 0.7691 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.293, allocations: 34.75 kB / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.293, allocations: 12.88 kB / 0.7692 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.2932, allocations: 168.3 kB / 0.7693 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2933, allocations: 4.375 kB / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2933, allocations: 384 / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.2936, allocations: 78.16 kB / 0.7694 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2937, allocations: 7.922 kB / 0.7694 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.2937, allocations: 8 kB / 0.7694 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2937, allocations: 4 kB / 0.7694 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.2941, allocations: 63.92 kB / 0.7695 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.2947, allocations: 284.8 kB / 0.7698 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.295, allocations: 62.47 kB / 0.7698 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.2952, allocations: 40.91 kB / 0.7699 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.2955, allocations: 93.09 kB / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.2955, allocations: 38.55 kB / 0.77 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.2956, allocations: 0 / 0.77 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0007597/0.2963, allocations: 129.6 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.2964, allocations: 55.34 kB / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.2966, allocations: 117.8 kB / 0.7703 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.2966, allocations: 29.7 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.2967, allocations: 84.14 kB / 0.7704 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.2967, allocations: 15.84 kB / 0.7704 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.2968, allocations: 13.72 kB / 0.7704 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.297, allocations: 322.8 kB / 0.7707 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.2972, allocations: 35.91 kB / 0.7708 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.2974, allocations: 35.95 kB / 0.7708 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.2978, allocations: 64.78 kB / 0.7708 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2978, allocations: 4 kB / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005316/0.2984, allocations: 97.56 kB / 0.7709 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2984, allocations: 8 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2984, allocations: 3.984 kB / 0.771 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2984, allocations: 3.938 kB / 0.771 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.2986, allocations: 15.98 kB / 0.771 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2986, allocations: 0 / 0.771 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2987, allocations: 27.92 kB / 0.771 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2988, allocations: 0 / 0.771 GB, free: 3.465 MB / 0.5606 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 0.0001084/0.2989, allocations: 110.4 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.2989, allocations: 4 kB / 0.7711 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.2994, allocations: 109.5 kB / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2995, allocations: 0 / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2995, allocations: 0 / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2995, allocations: 3.938 kB / 0.7712 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.2998, allocations: 177.6 kB / 0.7714 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2998, allocations: 0 / 0.7714 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.2999, allocations: 11.98 kB / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2999, allocations: 0 / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2999, allocations: 4 kB / 0.7714 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2999, allocations: 0 / 0.7714 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3, allocations: 4 kB / 0.7714 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.3005, allocations: 199.4 kB / 0.7716 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.3005, allocations: 85.48 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3006, allocations: 0 / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3007, allocations: 15.98 kB / 0.7717 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.3008, allocations: 11.98 kB / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.3008, allocations: 0 / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.3009, allocations: 95.27 kB / 0.7718 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.468e-06/0.3009, allocations: 0 / 0.7718 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004841/0.3014, allocations: 35.75 kB / 0.7718 GB, free: 2.512 MB / 0.5606 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.001167/0.3026, allocations: 0.7654 MB / 0.7726 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004658/0.3031, allocations: 67.92 kB / 0.7726 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3031, allocations: 8 kB / 0.7727 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.3033, allocations: 39.89 kB / 0.7727 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.3038, allocations: 8 kB / 0.7727 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3065, allocations: 1.429 MB / 0.7741 GB, free: 96 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3877/0.6942, allocations: 0.6803 MB / 0.7748 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.356e-05/0.6943, allocations: 3.562 kB / 0.7748 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.6943, allocations: 16.64 kB / 0.7748 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of SimCode: time 6.52e-07/0.6943, allocations: 0 / 0.7748 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.7124, allocations: 2.46 MB / 0.7772 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.985, allocations: 14.08 kB / 0.7772 GB, free: 13.91 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)