Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.704/2.704, allocations: 287.5 MB / 302.4 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001385, allocations: 174.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 88.53 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005326, allocations: 11.06 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2285, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004848/0.2334, allocations: 3.567 MB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.2365, allocations: 2.233 MB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2366, allocations: 4 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.2369, allocations: 43.78 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.2372, allocations: 79.48 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.2386, allocations: 410.1 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.239, allocations: 287.8 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.2391, allocations: 9.562 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.2393, allocations: 119.5 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.2395, allocations: 91.72 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.2395, allocations: 4 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.2406, allocations: 339.4 kB / 0.9854 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.132e-05/0.2407, allocations: 31.91 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.2408, allocations: 57.62 kB / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.2413, allocations: 247.7 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2413, allocations: 0 / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2413, allocations: 0 / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2413, allocations: 3.938 kB / 0.9858 GB, free: 20.74 MB / 0.6198 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.0007477/0.2421, allocations: 479.1 kB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2422, allocations: 16.02 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.2422, allocations: 50.5 kB / 0.9863 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.2451, allocations: 179.6 kB / 0.9865 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.2453, allocations: 210.8 kB / 0.9867 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.2454, allocations: 12.33 kB / 0.9867 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.2454, allocations: 23.98 kB / 0.9867 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009075/0.2464, allocations: 296.3 kB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2464, allocations: 3.938 kB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.2464, allocations: 11.98 kB / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.2465, allocations: 7.953 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.2476, allocations: 267.5 kB / 0.9873 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2496, allocations: 1.369 MB / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.2507, allocations: 199 kB / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.2511, allocations: 84.77 kB / 0.9889 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.2511, allocations: 7.984 kB / 0.9889 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2511, allocations: 34.56 kB / 0.9889 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.625e-06/0.2512, allocations: 0 / 0.9889 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001253/0.2524, allocations: 243.4 kB / 0.9891 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2525, allocations: 59.41 kB / 0.9892 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2526, allocations: 154.5 kB / 0.9893 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.2527, allocations: 25.7 kB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.2527, allocations: 128 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.2528, allocations: 67.09 kB / 0.9896 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.2528, allocations: 0 / 0.9896 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.2529, allocations: 326.8 kB / 0.9899 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.2533, allocations: 68.41 kB / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.2537, allocations: 135.3 kB / 0.9901 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.2541, allocations: 83.84 kB / 0.9901 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2541, allocations: 0 / 0.9901 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009205/0.255, allocations: 257.1 kB / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2551, allocations: 5.719 kB / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2551, allocations: 7.938 kB / 0.9904 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2551, allocations: 4.312 kB / 0.9904 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.2557, allocations: 59.95 kB / 0.9905 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2558, allocations: 7.938 kB / 0.9905 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.2562, allocations: 31.83 kB / 0.9905 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.2562, allocations: 8 kB / 0.9905 GB, free: 15.53 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.2564, allocations: 137.7 kB / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.2564, allocations: 19.77 kB / 0.9907 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009824/0.2574, allocations: 216.6 kB / 0.9909 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2574, allocations: 11.89 kB / 0.9909 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2575, allocations: 0 / 0.9909 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2575, allocations: 3.984 kB / 0.9909 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.2578, allocations: 237.4 kB / 0.9911 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2578, allocations: 0 / 0.9911 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/0.2583, allocations: 51.89 kB / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.2584, allocations: 4 kB / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.2584, allocations: 11.95 kB / 0.9912 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2584, allocations: 0 / 0.9912 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2584, allocations: 0 / 0.9912 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.2593, allocations: 293.3 kB / 0.9914 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2594, allocations: 108.8 kB / 0.9916 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.2595, allocations: 7.984 kB / 0.9916 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.2599, allocations: 15.98 kB / 0.9916 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.2599, allocations: 11.94 kB / 0.9916 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.26, allocations: 12 kB / 0.9916 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.061e-05/0.2601, allocations: 119.8 kB / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2601, allocations: 3.938 kB / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004601/0.2606, allocations: 59.94 kB / 0.9918 GB, free: 14.14 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.2618, allocations: 0.8581 MB / 0.9926 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008429/0.2626, allocations: 184.2 kB / 0.9928 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2626, allocations: 0 / 0.9928 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.263, allocations: 84.58 kB / 0.9929 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007451/0.2638, allocations: 59.89 kB / 0.9929 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.2669, allocations: 1.099 MB / 0.994 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.2671, allocations: 0.7137 MB / 0.9947 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006028/0.2677, allocations: 49.94 kB / 0.9947 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.2679, allocations: 47.41 kB / 0.9948 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.114e-06/0.2679, allocations: 0 / 0.9948 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.2958, allocations: 4.624 MB / 0.9993 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004273/0.2963, allocations: 223.1 kB / 0.9995 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/3.026, allocations: 0 / 0.9995 GB, free: 6.297 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)