Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.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.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density",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.77/2.77, allocations: 287.3 MB / 302.3 MB, free: 8.195 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.001502/0.001502, allocations: 181 kB / 370.8 MB, free: 10.9 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.338/2.338, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.002286/0.002286, allocations: 83.19 kB / 0.7428 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004917, allocations: 16.47 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2464, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9371/1.184, allocations: 154 MB / 1.129 GB, free: 56 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01336/1.197, allocations: 6.479 MB / 1.135 GB, free: 15.58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/1.198, allocations: 20.62 kB / 1.135 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/1.2, allocations: 424.6 kB / 1.135 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005711/1.206, allocations: 1.293 MB / 1.137 GB, free: 15.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004677/1.211, allocations: 1.021 MB / 1.138 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002779/1.214, allocations: 1.12 MB / 1.139 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/1.215, allocations: 0.5082 MB / 1.139 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/1.217, allocations: 0.6124 MB / 1.14 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007686/1.217, allocations: 383.2 kB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/1.217, allocations: 30.06 kB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/1.221, allocations: 0.8801 MB / 1.141 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004073/1.221, allocations: 227.1 kB / 1.141 GB, free: 14.94 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003583/1.222, allocations: 174.6 kB / 1.141 GB, free: 14.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/1.224, allocations: 1.005 MB / 1.142 GB, free: 14.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.224, allocations: 0 / 1.142 GB, free: 14.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/1.224, allocations: 0 / 1.142 GB, free: 14.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.36e-05/1.224, allocations: 1.188 kB / 1.142 GB, free: 14.41 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002503/1.227, allocations: 0.9844 MB / 1.143 GB, free: 13.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.227, allocations: 8.625 kB / 1.143 GB, free: 13.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/1.227, allocations: 103.2 kB / 1.144 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/1.23, allocations: 275.2 kB / 1.144 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/1.231, allocations: 0.5498 MB / 1.144 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/1.231, allocations: 42.72 kB / 1.144 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/1.231, allocations: 57.22 kB / 1.144 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/1.233, allocations: 0.6339 MB / 1.145 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/1.233, allocations: 0.9688 kB / 1.145 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-05/1.233, allocations: 30.36 kB / 1.145 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/1.233, allocations: 19.25 kB / 1.145 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/1.235, allocations: 0.5322 MB / 1.146 GB, free: 12.82 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/1.24, allocations: 2.452 MB / 1.148 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.241, allocations: 387.7 kB / 1.148 GB, free: 11.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/1.241, allocations: 144.5 kB / 1.149 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.242, allocations: 36.86 kB / 1.149 GB, free: 10.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.657e-06/1.242, allocations: 1.859 kB / 1.149 GB, free: 10.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.002464/1.244, allocations: 0.623 MB / 1.149 GB, free: 10.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/1.244, allocations: 59.48 kB / 1.149 GB, free: 10.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009847/1.245, allocations: 495.5 kB / 1.15 GB, free: 10.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/1.245, allocations: 35.73 kB / 1.15 GB, free: 10.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/1.246, allocations: 324.9 kB / 1.15 GB, free: 10.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/1.246, allocations: 139.8 kB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/1.246, allocations: 11.25 kB / 1.15 GB, free: 10.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002098/1.246, allocations: 364.5 kB / 1.151 GB, free: 9.793 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/1.247, allocations: 168.5 kB / 1.151 GB, free: 9.762 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/1.247, allocations: 295.9 kB / 1.151 GB, free: 9.605 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/1.248, allocations: 210.6 kB / 1.151 GB, free: 9.574 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.248, allocations: 0 / 1.151 GB, free: 9.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00165/1.25, allocations: 0.5251 MB / 1.152 GB, free: 9.441 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004507/1.25, allocations: 0.8751 MB / 1.153 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.25, allocations: 3.344 kB / 1.153 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/1.25, allocations: 12.08 kB / 1.153 GB, free: 8.516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.252, allocations: 142.8 kB / 1.153 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005755/1.252, allocations: 0.6015 MB / 1.153 GB, free: 7.883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/1.254, allocations: 80.11 kB / 1.153 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/1.254, allocations: 22.03 kB / 1.153 GB, free: 7.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.254, allocations: 3.812 kB / 1.153 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00145/1.255, allocations: 464.8 kB / 1.154 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.255, allocations: 6.359 kB / 1.154 GB, free: 7.758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/1.255, allocations: 4.688 kB / 1.154 GB, free: 7.758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.256, allocations: 131.4 kB / 1.154 GB, free: 7.727 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.256, allocations: 5.688 kB / 1.154 GB, free: 7.727 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.258, allocations: 70.02 kB / 1.154 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/1.258, allocations: 17.16 kB / 1.154 GB, free: 7.695 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006368/1.258, allocations: 313.8 kB / 1.154 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.258, allocations: 59.53 kB / 1.154 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/1.26, allocations: 498.2 kB / 1.155 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.26, allocations: 7.094 kB / 1.155 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.26, allocations: 1.031 kB / 1.155 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/1.262, allocations: 0.7126 MB / 1.156 GB, free: 6.598 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/1.265, allocations: 1.28 MB / 1.157 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.265, allocations: 2.188 kB / 1.157 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.267, allocations: 137 kB / 1.157 GB, free: 5.637 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/1.267, allocations: 4.188 kB / 1.157 GB, free: 5.637 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/1.267, allocations: 8.531 kB / 1.157 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000479/1.267, allocations: 0.5986 MB / 1.158 GB, free: 5.027 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.267, allocations: 5.969 kB / 1.158 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/1.27, allocations: 0.9248 MB / 1.158 GB, free: 4.363 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/1.27, allocations: 180.2 kB / 1.159 GB, free: 4.199 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.27, allocations: 13.83 kB / 1.159 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000907/1.271, allocations: 51.16 kB / 1.159 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.271, allocations: 25.3 kB / 1.159 GB, free: 4.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/1.271, allocations: 18.66 kB / 1.159 GB, free: 4.148 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007047/1.272, allocations: 350.2 kB / 1.159 GB, free: 3.938 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.272, allocations: 1.859 kB / 1.159 GB, free: 3.938 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001659/1.274, allocations: 360.4 kB / 1.159 GB, free: 3.867 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003386/1.277, allocations: 2.051 MB / 1.161 GB, free: 2.156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002558/1.28, allocations: 0.6767 MB / 1.162 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.28, allocations: 0 / 1.162 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007823/1.281, allocations: 231 kB / 1.162 GB, free: 1.758 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/1.284, allocations: 343.5 kB / 1.163 GB, free: 1.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.294, allocations: 5.14 MB / 1.168 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008212/1.295, allocations: 0.9692 MB / 1.169 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001386/1.297, allocations: 200.5 kB / 1.169 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/1.297, allocations: 226.6 kB / 1.169 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/1.297, allocations: 0 / 1.169 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06598/1.363, allocations: 17.48 MB / 1.186 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/1.364, allocations: 239 kB / 1.186 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.575, allocations: 0 / 1.186 GB, free: 3.742 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)