Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.008013/0.008012, allocations: 96.31 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.001907/0.001907, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9425/0.9425, allocations: 143 MB / 433.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 59.91 kB / 0.595 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3848, allocations: 82.03 MB / 0.6751 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004622/0.3894, allocations: 4.017 MB / 0.6791 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000189/0.3896, allocations: 157.9 kB / 0.6792 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.3897, allocations: 0 / 0.6792 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.819e-05/0.3898, allocations: 5.062 kB / 0.6792 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.997e-05/0.3899, allocations: 14.67 kB / 0.6792 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.3902, allocations: 78.72 kB / 0.6793 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.811e-05/0.3903, allocations: 37.59 kB / 0.6793 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.3903, allocations: 2.156 kB / 0.6794 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.3904, allocations: 20.97 kB / 0.6794 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.3904, allocations: 9.719 kB / 0.6794 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3904, allocations: 1.312 kB / 0.6794 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.3906, allocations: 53 kB / 0.6794 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.3907, allocations: 15.12 kB / 0.6794 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.3907, allocations: 7.906 kB / 0.6795 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.3909, allocations: 46.59 kB / 0.6795 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3909, allocations: 1 kB / 0.6795 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3909, allocations: 0 / 0.6795 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3909, allocations: 3.938 kB / 0.6795 GB, free: 13.52 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003304/0.3912, allocations: 337.6 kB / 0.6798 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3913, allocations: 9.938 kB / 0.6798 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.3913, allocations: 31.69 kB / 0.6799 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.3914, allocations: 6.938 kB / 0.6799 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.3915, allocations: 165.4 kB / 0.68 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.3915, allocations: 32.2 kB / 0.6801 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.3915, allocations: 4.125 kB / 0.6801 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.3916, allocations: 42.81 kB / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3917, allocations: 1.125 kB / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3917, allocations: 0 / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.3917, allocations: 0.9688 kB / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.3917, allocations: 29 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3921, allocations: 337.9 kB / 0.6805 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.358e-05/0.3922, allocations: 19.67 kB / 0.6805 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.3922, allocations: 7.047 kB / 0.6805 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.1e-05/0.3923, allocations: 85.59 kB / 0.6806 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3923, allocations: 31.69 kB / 0.6806 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3923, allocations: 1.156 kB / 0.6806 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.3924, allocations: 43.34 kB / 0.6806 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.3925, allocations: 55.44 kB / 0.6807 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.3926, allocations: 104.5 kB / 0.6808 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3926, allocations: 25.7 kB / 0.6808 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.3926, allocations: 85.31 kB / 0.6809 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.3926, allocations: 1.156 kB / 0.6809 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.3927, allocations: 17.23 kB / 0.6809 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.3928, allocations: 319.8 kB / 0.6812 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.3928, allocations: 7.312 kB / 0.6812 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.3928, allocations: 16.97 kB / 0.6812 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.3929, allocations: 28.23 kB / 0.6813 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3929, allocations: 0 / 0.6813 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.369e-05/0.3929, allocations: 51.05 kB / 0.6813 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.393, allocations: 9.219 kB / 0.6813 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.393, allocations: 5.469 kB / 0.6813 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.393, allocations: 0 / 0.6813 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.086e-05/0.393, allocations: 5.094 kB / 0.6813 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.393, allocations: 1.438 kB / 0.6813 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.3931, allocations: 3.938 kB / 0.6813 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3931, allocations: 2.594 kB / 0.6813 GB, free: 11.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.919e-05/0.3932, allocations: 110.8 kB / 0.6814 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3932, allocations: 6.094 kB / 0.6815 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.3933, allocations: 124.2 kB / 0.6816 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.454e-05/0.3934, allocations: 181 kB / 0.6817 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.504e-05/0.3934, allocations: 177.4 kB / 0.6819 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.475e-05/0.3935, allocations: 185.2 kB / 0.6821 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.3937, allocations: 408.5 kB / 0.6825 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.794e-05/0.3937, allocations: 108.9 kB / 0.6826 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.3938, allocations: 106.2 kB / 0.6827 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-05/0.3938, allocations: 181.5 kB / 0.6829 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.3939, allocations: 181.6 kB / 0.683 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.261e-05/0.3939, allocations: 176.3 kB / 0.6832 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.145e-05/0.394, allocations: 185.3 kB / 0.6834 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.3941, allocations: 309.3 kB / 0.6837 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.3942, allocations: 182 kB / 0.6838 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.3943, allocations: 190.2 kB / 0.684 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3944, allocations: 108 kB / 0.6841 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.3945, allocations: 181.2 kB / 0.6843 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.3945, allocations: 102 kB / 0.6844 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.3946, allocations: 92.52 kB / 0.6845 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3946, allocations: 0 / 0.6845 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002506/0.3948, allocations: 20.12 kB / 0.6845 GB, free: 8.062 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.000419/0.3953, allocations: 0.8332 MB / 0.6853 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.3953, allocations: 13.92 kB / 0.6853 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3953, allocations: 3.938 kB / 0.6853 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3953, allocations: 1.938 kB / 0.6853 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3957, allocations: 458.8 kB / 0.6858 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.3966, allocations: 1.322 MB / 0.6871 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3968, allocations: 0.6765 MB / 0.6877 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.3968, allocations: 11.77 kB / 0.6877 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.3968, allocations: 13.94 kB / 0.6878 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/0.3969, allocations: 0 / 0.6878 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.4137, allocations: 1.532 MB / 0.6892 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.585, allocations: 1.031 kB / 0.6893 GB, free: 3.867 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)