Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8895/0.8895, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 172.8 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009786, allocations: 99.78 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 277.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.474e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4928, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.879/5.372, allocations: 1.885 GB / 2.643 GB, free: 173.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/5.373, allocations: 87.95 kB / 2.643 GB, free: 173 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.905/7.278, allocations: 484.1 MB / 3.115 GB, free: 152.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.193e-06/7.278, allocations: 3.062 kB / 3.115 GB, free: 152.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.987e-05/7.278, allocations: 22.38 kB / 3.115 GB, free: 152.8 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.002226/7.28, allocations: 1.036 MB / 3.116 GB, free: 152.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/7.28, allocations: 7 kB / 3.116 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/7.282, allocations: 275.5 kB / 3.117 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/7.283, allocations: 0.6068 MB / 3.117 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/7.283, allocations: 16.81 kB / 3.117 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.661e-05/7.283, allocations: 33.94 kB / 3.117 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007291/7.284, allocations: 441.4 kB / 3.118 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008037/7.285, allocations: 0.5112 MB / 3.118 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/7.285, allocations: 0 / 3.118 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/7.285, allocations: 0 / 3.118 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/7.285, allocations: 24.34 kB / 3.118 GB, free: 152 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002687/7.288, allocations: 2.308 MB / 3.121 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/7.288, allocations: 333.1 kB / 3.121 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/7.288, allocations: 204.4 kB / 3.121 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/7.289, allocations: 301.4 kB / 3.121 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/7.289, allocations: 38.8 kB / 3.121 GB, free: 150.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.993e-06/7.289, allocations: 0 / 3.121 GB, free: 150.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001041/7.29, allocations: 435.2 kB / 3.122 GB, free: 150.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/7.29, allocations: 58.69 kB / 3.122 GB, free: 150.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/7.29, allocations: 358.3 kB / 3.122 GB, free: 150.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/7.291, allocations: 25.7 kB / 3.122 GB, free: 150.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/7.291, allocations: 328.2 kB / 3.123 GB, free: 150 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/7.291, allocations: 132.7 kB / 3.123 GB, free: 150 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/7.291, allocations: 3.312 kB / 3.123 GB, free: 150 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/7.291, allocations: 369.8 kB / 3.123 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/7.291, allocations: 137.9 kB / 3.123 GB, free: 149.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/7.291, allocations: 263 kB / 3.123 GB, free: 149.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/7.292, allocations: 206.4 kB / 3.124 GB, free: 149.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/7.292, allocations: 0 / 3.124 GB, free: 149.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006762/7.292, allocations: 471.3 kB / 3.124 GB, free: 149.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/7.293, allocations: 0.8742 MB / 3.125 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/7.293, allocations: 7.875 kB / 3.125 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/7.293, allocations: 13.31 kB / 3.125 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/7.293, allocations: 112.7 kB / 3.125 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002663/7.294, allocations: 0.594 MB / 3.126 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/7.294, allocations: 71.94 kB / 3.126 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/7.294, allocations: 17.44 kB / 3.126 GB, free: 147.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/7.294, allocations: 3.688 kB / 3.126 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005967/7.295, allocations: 393.6 kB / 3.126 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/7.295, allocations: 3.844 kB / 3.126 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.042e-06/7.295, allocations: 2.594 kB / 3.126 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/7.295, allocations: 106.8 kB / 3.126 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/7.295, allocations: 3.969 kB / 3.126 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/7.296, allocations: 61.22 kB / 3.126 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/7.296, allocations: 20.09 kB / 3.126 GB, free: 147.9 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 () * 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.0001211/7.296, allocations: 119.7 kB / 3.126 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005841/7.297, allocations: 399.7 kB / 3.127 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/7.297, allocations: 53.78 kB / 3.127 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/7.297, allocations: 426.4 kB / 3.127 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/7.297, allocations: 3.469 kB / 3.127 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/7.297, allocations: 0 / 3.127 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005716/7.298, allocations: 0.667 MB / 3.128 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/7.3, allocations: 1.153 MB / 3.129 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/7.3, allocations: 3.438 kB / 3.129 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/7.3, allocations: 108.9 kB / 3.129 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/7.3, allocations: 3.719 kB / 3.129 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/7.3, allocations: 10.34 kB / 3.129 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002093/7.3, allocations: 0.5952 MB / 3.13 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/7.3, allocations: 6.531 kB / 3.13 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/7.301, allocations: 0.8257 MB / 3.131 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/7.302, allocations: 184 kB / 3.131 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/7.302, allocations: 3.719 kB / 3.131 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/7.302, allocations: 44.08 kB / 3.131 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/7.302, allocations: 32.11 kB / 3.131 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/7.302, allocations: 21.59 kB / 3.131 GB, free: 145.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002595/7.303, allocations: 282.7 kB / 3.131 GB, free: 145.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.303, allocations: 0 / 3.131 GB, free: 145.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001218/7.304, allocations: 435.7 kB / 3.131 GB, free: 145.7 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 () * 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.003191/7.307, allocations: 3.292 MB / 3.135 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001104/7.308, allocations: 0.5858 MB / 3.135 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/7.308, allocations: 6.375 kB / 3.135 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/7.308, allocations: 185.2 kB / 3.135 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/7.31, allocations: 314.3 kB / 3.136 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/7.312, allocations: 1.237 MB / 3.137 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/7.313, allocations: 0.9628 MB / 3.138 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008356/7.314, allocations: 236.7 kB / 3.138 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/7.314, allocations: 217.5 kB / 3.138 GB, free: 143 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/7.314, allocations: 0 / 3.138 GB, free: 143 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0513/7.365, allocations: 26.57 MB / 3.164 GB, free: 142.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/7.365, allocations: 165.2 kB / 3.164 GB, free: 141.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/10.17, allocations: 0 / 3.164 GB, free: 141.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe 2>&1)