Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 2.238/2.238, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001712/0.001712, allocations: 166.5 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.231/3.231, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 86.3 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004773, allocations: 9.188 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2901, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004891/0.2951, allocations: 3.747 MB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.2978, allocations: 2.395 MB / 0.9069 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.298, allocations: 4 kB / 0.9069 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.2983, allocations: 43.78 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.2986, allocations: 91.42 kB / 0.907 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.3, allocations: 462 kB / 0.9075 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.3004, allocations: 335.8 kB / 0.9078 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.326e-05/0.3004, allocations: 13.5 kB / 0.9078 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.3007, allocations: 103.7 kB / 0.9079 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3009, allocations: 95.59 kB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.3009, allocations: 8 kB / 0.908 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000954/0.3018, allocations: 443.1 kB / 0.9084 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.3019, allocations: 39.83 kB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3021, allocations: 113.3 kB / 0.9086 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.3028, allocations: 387.3 kB / 0.909 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3028, allocations: 4 kB / 0.909 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3028, allocations: 0 / 0.909 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3028, allocations: 0 / 0.909 GB, free: 55.16 MB / 0.6042 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.0007824/0.3036, allocations: 475.4 kB / 0.9094 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.3037, allocations: 8.031 kB / 0.9094 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.3037, allocations: 50.73 kB / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/0.3065, allocations: 180.5 kB / 0.9096 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.3068, allocations: 212.1 kB / 0.9098 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.3068, allocations: 12.7 kB / 0.9099 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.3069, allocations: 20.36 kB / 0.9099 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/0.3077, allocations: 304.9 kB / 0.9102 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3077, allocations: 0 / 0.9102 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.3077, allocations: 12 kB / 0.9102 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.3078, allocations: 4 kB / 0.9102 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009353/0.3087, allocations: 263.5 kB / 0.9104 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.3104, allocations: 1.392 MB / 0.9118 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008396/0.3113, allocations: 191.6 kB / 0.912 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.3116, allocations: 80.75 kB / 0.912 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.3116, allocations: 7.984 kB / 0.9121 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.3117, allocations: 38.56 kB / 0.9121 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/0.3117, allocations: 0 / 0.9121 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009722/0.3127, allocations: 239.7 kB / 0.9123 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.3127, allocations: 51.41 kB / 0.9124 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3129, allocations: 165.4 kB / 0.9125 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.3129, allocations: 33.7 kB / 0.9126 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.313, allocations: 124 kB / 0.9127 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.313, allocations: 59.09 kB / 0.9127 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.3131, allocations: 8 kB / 0.9127 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3132, allocations: 330.8 kB / 0.9131 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.3135, allocations: 60.36 kB / 0.9131 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.3138, allocations: 143 kB / 0.9133 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.3143, allocations: 213.3 kB / 0.9135 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3144, allocations: 4 kB / 0.9135 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006933/0.3151, allocations: 251.8 kB / 0.9137 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3151, allocations: 4 kB / 0.9137 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.3151, allocations: 7.938 kB / 0.9137 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.3151, allocations: 4 kB / 0.9137 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.3156, allocations: 63.89 kB / 0.9138 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.3156, allocations: 4 kB / 0.9138 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.3159, allocations: 35.67 kB / 0.9138 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.316, allocations: 20.14 kB / 0.9138 GB, free: 49.77 MB / 0.6042 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.0001258/0.3161, allocations: 129.7 kB / 0.914 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.3162, allocations: 15.81 kB / 0.914 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007581/0.3169, allocations: 232.8 kB / 0.9142 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3169, allocations: 4 kB / 0.9142 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.317, allocations: 0 / 0.9142 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.317, allocations: 0 / 0.9142 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.3173, allocations: 253.3 kB / 0.9144 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3173, allocations: 4 kB / 0.9144 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.3177, allocations: 39.97 kB / 0.9145 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3177, allocations: 4 kB / 0.9145 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.3177, allocations: 15.92 kB / 0.9145 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3178, allocations: 0 / 0.9145 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3178, allocations: 0 / 0.9145 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.3184, allocations: 299.2 kB / 0.9148 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.3185, allocations: 104.9 kB / 0.9149 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.3185, allocations: 7.938 kB / 0.9149 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.3189, allocations: 15.98 kB / 0.9149 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.3189, allocations: 11.98 kB / 0.9149 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.319, allocations: 11.98 kB / 0.9149 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.73e-05/0.319, allocations: 114.3 kB / 0.915 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3191, allocations: 0 / 0.915 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004876/0.3196, allocations: 67.89 kB / 0.9151 GB, free: 48.37 MB / 0.6042 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.0009507/0.3205, allocations: 0.8557 MB / 0.9159 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006479/0.3212, allocations: 175.8 kB / 0.9161 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3212, allocations: 0 / 0.9161 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.3215, allocations: 95.81 kB / 0.9162 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.3222, allocations: 56.58 kB / 0.9163 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.3258, allocations: 2.232 MB / 0.9184 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.326, allocations: 0.7095 MB / 0.9191 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005272/0.3265, allocations: 49.92 kB / 0.9192 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.3266, allocations: 51.41 kB / 0.9192 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.3267, allocations: 4 kB / 0.9192 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07498/0.4016, allocations: 4.714 MB / 0.9238 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000287/0.402, allocations: 257.5 kB / 0.9241 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/3.665, allocations: 0 / 0.9241 GB, free: 39.22 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)