Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.004605/0.004605, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001226/0.001226, 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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 0.9167/0.9167, allocations: 143.3 MB / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 72.77 kB / 0.5954 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1939, allocations: 82.03 MB / 0.6755 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.008913/0.2029, allocations: 4.056 MB / 0.6794 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00433/0.2072, allocations: 2.441 MB / 0.6818 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.2074, allocations: 0 / 0.6818 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.2078, allocations: 43.69 kB / 0.6819 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.2084, allocations: 99.34 kB / 0.682 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.2106, allocations: 0.5244 MB / 0.6825 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.2112, allocations: 259.9 kB / 0.6827 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.278e-05/0.2113, allocations: 9.562 kB / 0.6827 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.2117, allocations: 115.5 kB / 0.6828 GB, free: 3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.2119, allocations: 99.58 kB / 0.6829 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.212, allocations: 8 kB / 0.683 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.2135, allocations: 455.3 kB / 0.6834 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2136, allocations: 39.88 kB / 0.6834 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.2138, allocations: 87.59 kB / 0.6835 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.2151, allocations: 415 kB / 0.6839 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2151, allocations: 0 / 0.6839 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2151, allocations: 0 / 0.6839 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.2151, allocations: 0 / 0.6839 GB, free: 1.918 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.001269/0.2164, allocations: 0.5103 MB / 0.6844 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.2165, allocations: 12.02 kB / 0.6844 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.766e-05/0.2166, allocations: 50.73 kB / 0.6845 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.2196, allocations: 176.6 kB / 0.6846 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.2201, allocations: 212.2 kB / 0.6848 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.2201, allocations: 8.703 kB / 0.6848 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.2202, allocations: 20.38 kB / 0.6849 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/0.2212, allocations: 312.1 kB / 0.6852 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2212, allocations: 0 / 0.6852 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.2213, allocations: 12 kB / 0.6852 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.2213, allocations: 4 kB / 0.6852 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.2225, allocations: 263.5 kB / 0.6854 GB, free: 232 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.225, allocations: 1.385 MB / 0.6868 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.2261, allocations: 195.2 kB / 0.687 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.2264, allocations: 76.81 kB / 0.687 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.2265, allocations: 4 kB / 0.687 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.2266, allocations: 46.48 kB / 0.6871 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 2.304e-06/0.2266, allocations: 0 / 0.6871 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.001228/0.2278, allocations: 239.3 kB / 0.6873 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.2279, allocations: 55.41 kB / 0.6874 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.2281, allocations: 154.2 kB / 0.6875 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.2282, allocations: 33.7 kB / 0.6875 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.2283, allocations: 132.1 kB / 0.6877 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.006e-05/0.2284, allocations: 71.42 kB / 0.6877 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.2286, allocations: 45.92 kB / 0.6878 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.2288, allocations: 330.8 kB / 0.6881 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.2291, allocations: 64.41 kB / 0.6882 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.2295, allocations: 146.3 kB / 0.6883 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.2303, allocations: 217.2 kB / 0.6885 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2303, allocations: 0 / 0.6885 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000928/0.2312, allocations: 256.2 kB / 0.6888 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.2312, allocations: 15.92 kB / 0.6888 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2313, allocations: 0 / 0.6888 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.2313, allocations: 4 kB / 0.6888 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.2318, allocations: 63.89 kB / 0.6888 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.2319, allocations: 8 kB / 0.6888 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.2322, allocations: 35.77 kB / 0.6889 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.2323, allocations: 12.22 kB / 0.6889 GB, free: 12.42 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001984/0.2325, allocations: 137.7 kB / 0.689 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.2326, allocations: 15.91 kB / 0.689 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.2336, allocations: 230.6 kB / 0.6893 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2336, allocations: 0 / 0.6893 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2336, allocations: 4 kB / 0.6893 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2336, allocations: 0 / 0.6893 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.2341, allocations: 245.8 kB / 0.6895 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2341, allocations: 8 kB / 0.6895 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.2346, allocations: 47.95 kB / 0.6895 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2346, allocations: 0 / 0.6895 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.2346, allocations: 4 kB / 0.6895 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2346, allocations: 0 / 0.6895 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2346, allocations: 0 / 0.6895 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.2355, allocations: 305.6 kB / 0.6898 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.2357, allocations: 109 kB / 0.6899 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.2358, allocations: 0 / 0.6899 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.2362, allocations: 19.98 kB / 0.69 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.2362, allocations: 7.984 kB / 0.69 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.2363, allocations: 12 kB / 0.69 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001396/0.2364, allocations: 112.7 kB / 0.6901 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2365, allocations: 4 kB / 0.6901 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006255/0.2371, allocations: 63.94 kB / 0.6902 GB, free: 11.03 MB / 0.5294 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 (20): * Single equations (assignments): 20 * 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.00149/0.2386, allocations: 0.8683 MB / 0.691 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008681/0.2395, allocations: 179.8 kB / 0.6912 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.2395, allocations: 3.938 kB / 0.6912 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.2399, allocations: 93.77 kB / 0.6913 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.2406, allocations: 65.11 kB / 0.6913 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.2448, allocations: 2.165 MB / 0.6934 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.2453, allocations: 0.7172 MB / 0.6941 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003817/0.2457, allocations: 49.94 kB / 0.6942 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.2459, allocations: 51.41 kB / 0.6942 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.2459, allocations: 0 / 0.6942 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.2844, allocations: 5.248 MB / 0.6994 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.409, allocations: 4.297 kB / 0.6994 GB, free: 1.617 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)