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.01007/0.01006, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.002635/0.002635, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.348 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 1.045/1.045, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 59.91 kB / 0.595 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.4743, allocations: 82.02 MB / 0.6751 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006207/0.4806, allocations: 4.036 MB / 0.6791 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000232/0.4809, allocations: 154.4 kB / 0.6792 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.4809, allocations: 0 / 0.6792 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.4811, allocations: 3.938 kB / 0.6792 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.4812, allocations: 18.75 kB / 0.6792 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.4816, allocations: 75.28 kB / 0.6793 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.4817, allocations: 33.36 kB / 0.6793 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.4818, allocations: 1.281 kB / 0.6793 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.4818, allocations: 25.25 kB / 0.6794 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.4819, allocations: 5.875 kB / 0.6794 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.4819, allocations: 1.125 kB / 0.6794 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.4822, allocations: 65.33 kB / 0.6794 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.4823, allocations: 6.266 kB / 0.6794 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.4823, allocations: 9.594 kB / 0.6795 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.4825, allocations: 44.33 kB / 0.6795 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4825, allocations: 0 / 0.6795 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4825, allocations: 1.219 kB / 0.6795 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4825, allocations: 0 / 0.6795 GB, free: 13.55 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.0004156/0.4829, allocations: 335.2 kB / 0.6798 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.483, allocations: 9.906 kB / 0.6798 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.483, allocations: 39.84 kB / 0.6799 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.4831, allocations: 6 kB / 0.6799 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4832, allocations: 165.6 kB / 0.68 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/0.4832, allocations: 31.58 kB / 0.6801 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.4833, allocations: 5.344 kB / 0.6801 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4834, allocations: 39.84 kB / 0.6801 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.4834, allocations: 0 / 0.6801 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4834, allocations: 3.984 kB / 0.6801 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.4835, allocations: 0.9688 kB / 0.6801 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.4835, allocations: 25.48 kB / 0.6801 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.484, allocations: 336.9 kB / 0.6805 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.4841, allocations: 20.83 kB / 0.6805 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.4841, allocations: 6.047 kB / 0.6805 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/0.4842, allocations: 86.78 kB / 0.6806 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.4842, allocations: 35.62 kB / 0.6806 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4842, allocations: 0 / 0.6806 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.4844, allocations: 39.17 kB / 0.6806 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4845, allocations: 56.34 kB / 0.6807 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.4845, allocations: 104.4 kB / 0.6808 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.4846, allocations: 25.7 kB / 0.6808 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.4846, allocations: 84.98 kB / 0.6809 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.4846, allocations: 5.125 kB / 0.6809 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.4847, allocations: 26.36 kB / 0.6809 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4848, allocations: 314.8 kB / 0.6812 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.4848, allocations: 2.5 kB / 0.6812 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/0.4849, allocations: 14.31 kB / 0.6812 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.4849, allocations: 27.73 kB / 0.6813 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4849, allocations: 0 / 0.6813 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.753e-05/0.485, allocations: 51.06 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4851, allocations: 5.688 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.4851, allocations: 0 / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4851, allocations: 4.812 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.4852, allocations: 4.688 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.4852, allocations: 1.312 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.4852, allocations: 5.688 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4852, allocations: 1.5 kB / 0.6813 GB, free: 11.52 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 9.272e-05/0.4853, allocations: 123.1 kB / 0.6815 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.4854, allocations: 2.188 kB / 0.6815 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.4855, allocations: 119 kB / 0.6816 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.026e-05/0.4856, allocations: 185.5 kB / 0.6817 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.477e-05/0.4857, allocations: 177.4 kB / 0.6819 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.431e-05/0.4857, allocations: 189.5 kB / 0.6821 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.486, allocations: 407.6 kB / 0.6825 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.513e-05/0.4861, allocations: 102.1 kB / 0.6826 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-05/0.4861, allocations: 113.7 kB / 0.6827 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.29e-05/0.4862, allocations: 177.4 kB / 0.6829 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.4863, allocations: 181.3 kB / 0.683 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.671e-05/0.4863, allocations: 181.4 kB / 0.6832 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.983e-05/0.4864, allocations: 185.2 kB / 0.6834 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.4866, allocations: 304.6 kB / 0.6837 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.4867, allocations: 183.5 kB / 0.6838 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.4868, allocations: 185.8 kB / 0.684 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.487, allocations: 107.5 kB / 0.6841 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.4871, allocations: 181.5 kB / 0.6843 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.4871, allocations: 101 kB / 0.6844 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.4872, allocations: 84.48 kB / 0.6845 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.51e-07/0.4872, allocations: 1.406 kB / 0.6845 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002819/0.4875, allocations: 18.97 kB / 0.6845 GB, free: 8.102 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.0006803/0.4882, allocations: 0.8295 MB / 0.6853 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.4883, allocations: 14.64 kB / 0.6853 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4883, allocations: 128 / 0.6853 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-06/0.4883, allocations: 9.156 kB / 0.6853 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.4887, allocations: 455.1 kB / 0.6858 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.49, allocations: 1.328 MB / 0.6871 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.4902, allocations: 0.6798 MB / 0.6877 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.269e-05/0.4903, allocations: 3.641 kB / 0.6877 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.4903, allocations: 13.73 kB / 0.6877 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.4903, allocations: 3.938 kB / 0.6877 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.5096, allocations: 1.531 MB / 0.6892 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.083, allocations: 8.969 kB / 0.6892 GB, free: 3.898 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)