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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.00698/0.00698, allocations: 103.4 kB / 15.74 MB, free: 6.047 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.001688/0.001688, allocations: 188.4 kB / 16.67 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.465/1.465, 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-master/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-master/package.mo): time 1.089/1.089, allocations: 143.3 MB / 433.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.89 kB / 0.5953 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4672, allocations: 82.02 MB / 0.6754 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005498/0.4728, allocations: 4.025 MB / 0.6793 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002428/0.473, allocations: 165.5 kB / 0.6795 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.4731, allocations: 0 / 0.6795 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.4732, allocations: 4.906 kB / 0.6795 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.331e-05/0.4733, allocations: 5.75 kB / 0.6795 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.4736, allocations: 83.44 kB / 0.6796 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.4737, allocations: 40.69 kB / 0.6796 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.4738, allocations: 2.531 kB / 0.6796 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.4738, allocations: 17.33 kB / 0.6796 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.4739, allocations: 13.8 kB / 0.6796 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.4739, allocations: 1.25 kB / 0.6796 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.4741, allocations: 52.97 kB / 0.6797 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.4742, allocations: 10.3 kB / 0.6797 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.4742, allocations: 13.23 kB / 0.6797 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.4744, allocations: 42.31 kB / 0.6798 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4744, allocations: 3.938 kB / 0.6798 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4744, allocations: 4 kB / 0.6798 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.4744, allocations: 1 kB / 0.6798 GB, free: 13.41 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.0004244/0.4748, allocations: 337 kB / 0.6801 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4749, allocations: 8.875 kB / 0.6801 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.4749, allocations: 36.16 kB / 0.6801 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.475, allocations: 1.875 kB / 0.6801 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.4751, allocations: 161.6 kB / 0.6803 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/0.4752, allocations: 28.55 kB / 0.6803 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.4752, allocations: 13.42 kB / 0.6803 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4753, allocations: 42.59 kB / 0.6804 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4753, allocations: 3.938 kB / 0.6804 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.4754, allocations: 0 / 0.6804 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.4754, allocations: 1.312 kB / 0.6804 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.973e-05/0.4754, allocations: 21.77 kB / 0.6804 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.4759, allocations: 332.8 kB / 0.6807 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.476, allocations: 24.64 kB / 0.6807 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.476, allocations: 6.016 kB / 0.6807 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-05/0.4761, allocations: 82.58 kB / 0.6808 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4761, allocations: 31.62 kB / 0.6808 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4761, allocations: 0 / 0.6808 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001677/0.4763, allocations: 48.45 kB / 0.6809 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.4764, allocations: 51.41 kB / 0.6809 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.4764, allocations: 108.5 kB / 0.681 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4765, allocations: 25.7 kB / 0.6811 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.4765, allocations: 85.34 kB / 0.6811 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-06/0.4765, allocations: 1.531 kB / 0.6811 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.4766, allocations: 16.41 kB / 0.6812 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4767, allocations: 319.9 kB / 0.6815 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.4767, allocations: 2.75 kB / 0.6815 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.4768, allocations: 17.66 kB / 0.6815 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.4768, allocations: 24.75 kB / 0.6815 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4768, allocations: 0 / 0.6815 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.467e-05/0.4769, allocations: 54.73 kB / 0.6816 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4769, allocations: 4.625 kB / 0.6816 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4769, allocations: 1.094 kB / 0.6816 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.477, allocations: 1.031 kB / 0.6816 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.822e-05/0.477, allocations: 12.36 kB / 0.6816 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.477, allocations: 1.219 kB / 0.6816 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.4771, allocations: 5.125 kB / 0.6816 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.4771, allocations: 2.344 kB / 0.6816 GB, free: 11.39 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 8.155e-05/0.4772, allocations: 115 kB / 0.6817 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4772, allocations: 1.031 kB / 0.6817 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.4773, allocations: 123.9 kB / 0.6818 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.76e-05/0.4774, allocations: 181.6 kB / 0.682 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-05/0.4775, allocations: 177.6 kB / 0.6822 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.207e-05/0.4776, allocations: 181.5 kB / 0.6823 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.4779, allocations: 407.8 kB / 0.6827 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-05/0.4779, allocations: 106.1 kB / 0.6828 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.478, allocations: 114.1 kB / 0.6829 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.108e-05/0.4781, allocations: 185.4 kB / 0.6831 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.4782, allocations: 181.3 kB / 0.6833 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.561e-05/0.4783, allocations: 176.3 kB / 0.6835 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-05/0.4783, allocations: 189.3 kB / 0.6836 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.4785, allocations: 312.4 kB / 0.6839 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.4786, allocations: 183.2 kB / 0.6841 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.4787, allocations: 182.4 kB / 0.6843 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.4789, allocations: 111.3 kB / 0.6844 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.479, allocations: 177.3 kB / 0.6846 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.479, allocations: 110.4 kB / 0.6847 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.597e-05/0.4791, allocations: 84.17 kB / 0.6847 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4791, allocations: 3.938 kB / 0.6847 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002532/0.4794, allocations: 19.19 kB / 0.6848 GB, free: 7.961 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.0006074/0.48, allocations: 0.8305 MB / 0.6856 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.4801, allocations: 15.16 kB / 0.6856 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4801, allocations: 0 / 0.6856 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.4801, allocations: 0 / 0.6856 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.4805, allocations: 461.8 kB / 0.686 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.4817, allocations: 1.33 MB / 0.6873 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.482, allocations: 0.6746 MB / 0.688 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.4821, allocations: 5.438 kB / 0.688 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.4821, allocations: 8.438 kB / 0.688 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4821, allocations: 7.938 kB / 0.688 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.5046, allocations: 1.536 MB / 0.6895 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.486, allocations: 0.9062 kB / 0.6895 GB, free: 3.77 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)