Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",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.007849/0.007849, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001807/0.001807, allocations: 194 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 0.5951 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5022, allocations: 82.03 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.008264/0.5105, allocations: 4.715 MB / 0.6798 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003601/0.5142, allocations: 2.708 MB / 0.6824 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.5145, allocations: 1.125 kB / 0.6824 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.5149, allocations: 47.36 kB / 0.6825 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.5153, allocations: 95.45 kB / 0.6826 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.5171, allocations: 0.4938 MB / 0.6831 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.5175, allocations: 235.4 kB / 0.6833 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.218e-05/0.5176, allocations: 17.72 kB / 0.6833 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.518, allocations: 117.3 kB / 0.6834 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.5182, allocations: 89.89 kB / 0.6835 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.5183, allocations: 16.14 kB / 0.6835 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.5195, allocations: 367.5 kB / 0.6839 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.5196, allocations: 34.89 kB / 0.6839 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.5198, allocations: 80.78 kB / 0.684 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.5209, allocations: 369 kB / 0.6843 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.521, allocations: 5.188 kB / 0.6843 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.297e-06/0.521, allocations: 0 / 0.6843 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.521, allocations: 0 / 0.6843 GB, free: 9.898 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001216/0.5222, allocations: 0.5027 MB / 0.6848 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.5223, allocations: 13.22 kB / 0.6848 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.462e-05/0.5224, allocations: 48.3 kB / 0.6849 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.5226, allocations: 26.73 kB / 0.6849 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.5229, allocations: 212.5 kB / 0.6851 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.523, allocations: 16.06 kB / 0.6851 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.523, allocations: 13.75 kB / 0.6851 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.5235, allocations: 250.7 kB / 0.6854 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5235, allocations: 0 / 0.6854 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.5235, allocations: 8.031 kB / 0.6854 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.5236, allocations: 9.5 kB / 0.6854 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.5241, allocations: 425.7 kB / 0.6858 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.5255, allocations: 0.957 MB / 0.6867 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.5258, allocations: 163.4 kB / 0.6869 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.526, allocations: 65.09 kB / 0.687 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/0.5277, allocations: 1.819 MB / 0.6887 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5277, allocations: 36.91 kB / 0.6888 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.5277, allocations: 0 / 0.6888 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0004183/0.5282, allocations: 154.5 kB / 0.6889 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.5282, allocations: 53.47 kB / 0.689 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.5284, allocations: 175.3 kB / 0.6891 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.5285, allocations: 31.55 kB / 0.6892 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5286, allocations: 135.3 kB / 0.6893 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.5287, allocations: 58.73 kB / 0.6894 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.5287, allocations: 53.55 kB / 0.6894 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5289, allocations: 325.6 kB / 0.6897 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.529, allocations: 33.02 kB / 0.6897 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.5291, allocations: 143.1 kB / 0.6899 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.5294, allocations: 200.4 kB / 0.6901 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5295, allocations: 1.406 kB / 0.6901 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004195/0.5299, allocations: 214.5 kB / 0.6903 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.5299, allocations: 9.062 kB / 0.6903 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.5299, allocations: 7.656 kB / 0.6903 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.53, allocations: 13.08 kB / 0.6903 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.5302, allocations: 52.61 kB / 0.6904 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.5302, allocations: 13.48 kB / 0.6904 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.5303, allocations: 25.06 kB / 0.6904 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.5304, allocations: 14.78 kB / 0.6904 GB, free: 4.16 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001402/0.5305, allocations: 141.9 kB / 0.6905 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.5306, allocations: 16.53 kB / 0.6906 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.5309, allocations: 151 kB / 0.6907 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.5309, allocations: 6.406 kB / 0.6907 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.531, allocations: 0 / 0.6907 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.531, allocations: 7.984 kB / 0.6907 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.5313, allocations: 222.5 kB / 0.6909 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5313, allocations: 7.938 kB / 0.6909 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.5314, allocations: 23.77 kB / 0.691 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5314, allocations: 0 / 0.691 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5314, allocations: 5.844 kB / 0.691 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.5314, allocations: 5.531 kB / 0.691 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5314, allocations: 0 / 0.691 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.5317, allocations: 224.6 kB / 0.6912 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.5319, allocations: 106.3 kB / 0.6913 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.5319, allocations: 5.188 kB / 0.6913 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.5321, allocations: 18.83 kB / 0.6913 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.5321, allocations: 9.766 kB / 0.6913 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.5322, allocations: 14.39 kB / 0.6913 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.694e-05/0.5323, allocations: 124.2 kB / 0.6915 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5323, allocations: 0 / 0.6915 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004584/0.5327, allocations: 74.84 kB / 0.6915 GB, free: 3.211 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000835/0.5336, allocations: 0.8358 MB / 0.6923 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.5339, allocations: 125.3 kB / 0.6925 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5339, allocations: 0 / 0.6925 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.534, allocations: 43.33 kB / 0.6925 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.5345, allocations: 60.7 kB / 0.6926 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.537, allocations: 2.037 MB / 0.6945 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.5373, allocations: 0.7115 MB / 0.6952 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.5375, allocations: 50.67 kB / 0.6953 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.5376, allocations: 46.3 kB / 0.6953 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.5376, allocations: 7.938 kB / 0.6953 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.5632, allocations: 5.41 MB / 0.7006 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.308, allocations: 1.562 kB / 0.7006 GB, free: 11.42 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)