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.737/2.737, allocations: 287.5 MB / 302.4 MB, free: 8.422 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.00137/0.001369, allocations: 182.5 kB / 371 MB, free: 10.87 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.243/2.243, allocations: 205.4 MB / 0.6297 GB, free: 10.51 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.001018/0.001017, allocations: 89.47 kB / 0.743 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007414/0.0007416, allocations: 13.28 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2825, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9357/1.218, allocations: 168.3 MB / 1.143 GB, free: 12.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01403/1.232, allocations: 6.477 MB / 1.149 GB, free: 10.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/1.234, allocations: 22.34 kB / 1.149 GB, free: 10.49 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/1.235, allocations: 278 kB / 1.149 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005103/1.241, allocations: 1.051 MB / 1.15 GB, free: 9.922 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004223/1.245, allocations: 0.831 MB / 1.151 GB, free: 9.703 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004993/1.25, allocations: 2.277 MB / 1.153 GB, free: 8.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/1.252, allocations: 0.4963 MB / 1.154 GB, free: 8.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/1.254, allocations: 0.684 MB / 1.155 GB, free: 8.383 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/1.256, allocations: 0.5667 MB / 1.155 GB, free: 8.074 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/1.257, allocations: 29.97 kB / 1.155 GB, free: 8.074 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00519/1.262, allocations: 1.136 MB / 1.156 GB, free: 7.477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007579/1.263, allocations: 247.5 kB / 1.157 GB, free: 7.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005415/1.263, allocations: 175.8 kB / 1.157 GB, free: 7.223 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/1.267, allocations: 1.141 MB / 1.158 GB, free: 6.523 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.267, allocations: 0 / 1.158 GB, free: 6.523 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.426e-06/1.267, allocations: 0 / 1.158 GB, free: 6.523 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.299e-05/1.267, allocations: 0.9688 kB / 1.158 GB, free: 6.523 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.003168/1.27, allocations: 1.02 MB / 1.159 GB, free: 5.703 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.27, allocations: 9.344 kB / 1.159 GB, free: 5.703 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002991/1.27, allocations: 101.8 kB / 1.159 GB, free: 5.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/1.273, allocations: 268.8 kB / 1.159 GB, free: 5.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/1.275, allocations: 0.5583 MB / 1.16 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/1.275, allocations: 44.72 kB / 1.16 GB, free: 5.008 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.276, allocations: 57.34 kB / 1.16 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/1.278, allocations: 0.6299 MB / 1.16 GB, free: 4.609 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/1.278, allocations: 1.188 kB / 1.16 GB, free: 4.609 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/1.278, allocations: 20.66 kB / 1.16 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/1.278, allocations: 22.86 kB / 1.161 GB, free: 4.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/1.28, allocations: 0.5326 MB / 1.161 GB, free: 4.332 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.005796/1.285, allocations: 2.455 MB / 1.163 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/1.287, allocations: 381.4 kB / 1.164 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/1.287, allocations: 237.6 kB / 1.164 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009703/1.288, allocations: 317.3 kB / 1.164 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/1.288, allocations: 41.41 kB / 1.164 GB, free: 1.512 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 6.091e-06/1.288, allocations: 7.984 kB / 1.164 GB, free: 1.504 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.002559/1.291, allocations: 0.6262 MB / 1.165 GB, free: 1.195 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/1.291, allocations: 55.62 kB / 1.165 GB, free: 1.133 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/1.292, allocations: 498.5 kB / 1.165 GB, free: 0.832 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/1.292, allocations: 33.2 kB / 1.166 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/1.293, allocations: 321.1 kB / 1.166 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/1.293, allocations: 139.6 kB / 1.166 GB, free: 404 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/1.293, allocations: 9.312 kB / 1.166 GB, free: 396 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.293, allocations: 368.8 kB / 1.166 GB, free: 32 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/1.294, allocations: 171.4 kB / 1.166 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/1.295, allocations: 293.5 kB / 1.167 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007275/1.295, allocations: 216.4 kB / 1.167 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.295, allocations: 5.875 kB / 1.167 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001704/1.297, allocations: 0.5225 MB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/1.297, allocations: 157 kB / 1.168 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.297, allocations: 5.125 kB / 1.168 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.297, allocations: 4.719 kB / 1.168 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/1.299, allocations: 149.1 kB / 1.168 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005982/1.299, allocations: 0.5924 MB / 1.168 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.301, allocations: 79.86 kB / 1.168 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/1.301, allocations: 23.09 kB / 1.168 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.301, allocations: 3.688 kB / 1.168 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001453/1.302, allocations: 467.6 kB / 1.169 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/1.302, allocations: 10.36 kB / 1.169 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.302, allocations: 5.906 kB / 1.169 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.303, allocations: 127.2 kB / 1.169 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/1.303, allocations: 8.297 kB / 1.169 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.305, allocations: 73.41 kB / 1.169 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/1.305, allocations: 21.84 kB / 1.169 GB, free: 14.16 MB / 0.7136 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.000656/1.305, allocations: 299.5 kB / 1.169 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/1.306, allocations: 63.86 kB / 1.17 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/1.307, allocations: 498.9 kB / 1.17 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/1.307, allocations: 11.91 kB / 1.17 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.307, allocations: 1.25 kB / 1.17 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001387/1.309, allocations: 0.7067 MB / 1.171 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/1.312, allocations: 1.288 MB / 1.172 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.313, allocations: 2.938 kB / 1.172 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.314, allocations: 137.5 kB / 1.172 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.314, allocations: 2.906 kB / 1.172 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/1.314, allocations: 9.125 kB / 1.172 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004601/1.314, allocations: 0.5943 MB / 1.173 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.314, allocations: 2.906 kB / 1.173 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/1.317, allocations: 0.8398 MB / 1.173 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/1.317, allocations: 185.6 kB / 1.174 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.317, allocations: 9.125 kB / 1.174 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/1.318, allocations: 48.77 kB / 1.174 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.318, allocations: 30.84 kB / 1.174 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/1.318, allocations: 21.75 kB / 1.174 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006627/1.319, allocations: 343.4 kB / 1.174 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.319, allocations: 0 / 1.174 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001648/1.321, allocations: 365.7 kB / 1.174 GB, free: 10.37 MB / 0.7136 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.002931/1.324, allocations: 1.46 MB / 1.176 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002393/1.326, allocations: 0.6936 MB / 1.177 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.326, allocations: 0 / 1.177 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007827/1.327, allocations: 230.2 kB / 1.177 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/1.33, allocations: 360 kB / 1.177 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.341, allocations: 3.811 MB / 1.181 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/1.341, allocations: 0.9523 MB / 1.182 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001399/1.343, allocations: 200.7 kB / 1.182 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005483/1.343, allocations: 227.9 kB / 1.182 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of SimCode: time 7.555e-06/1.343, allocations: 0 / 1.182 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06433/1.408, allocations: 17.51 MB / 1.199 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003415/1.408, allocations: 246 kB / 1.2 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/4.822, allocations: 4 kB / 1.2 GB, free: 9.008 MB / 0.7292 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)