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.7192/0.7192, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 191.5 kB / 187.3 MB, free: 11.9 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.262/1.262, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008406/0.0008407, allocations: 93.81 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 273 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.426e-05/4.435e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3461, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.465/3.811, allocations: 1.886 GB / 2.65 GB, free: 160.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/3.811, allocations: 91.89 kB / 2.65 GB, free: 160.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.487/5.298, allocations: 489.6 MB / 3.128 GB, free: 153.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/5.298, allocations: 0 / 3.128 GB, free: 153.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.778e-05/5.298, allocations: 27.19 kB / 3.128 GB, free: 153.7 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.001974/5.3, allocations: 1.028 MB / 3.129 GB, free: 153.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/5.3, allocations: 9.906 kB / 3.129 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/5.3, allocations: 104.1 kB / 3.129 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/5.302, allocations: 267.6 kB / 3.13 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/5.303, allocations: 0.6009 MB / 3.13 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/5.304, allocations: 42.25 kB / 3.13 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/5.304, allocations: 56.69 kB / 3.13 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/5.305, allocations: 0.5942 MB / 3.131 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/5.305, allocations: 0 / 3.131 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/5.305, allocations: 23.69 kB / 3.131 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/5.305, allocations: 23.38 kB / 3.131 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/5.305, allocations: 467.6 kB / 3.131 GB, free: 152.8 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.002507/5.308, allocations: 2.417 MB / 3.134 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/5.308, allocations: 342.5 kB / 3.134 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/5.309, allocations: 218.1 kB / 3.134 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/5.309, allocations: 303.4 kB / 3.135 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/5.309, allocations: 38.39 kB / 3.135 GB, free: 151.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.533e-06/5.309, allocations: 3.031 kB / 3.135 GB, free: 151.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0007853/5.31, allocations: 427.6 kB / 3.135 GB, free: 151.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/5.31, allocations: 59.25 kB / 3.135 GB, free: 151 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/5.31, allocations: 428 kB / 3.136 GB, free: 150.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/5.31, allocations: 36.98 kB / 3.136 GB, free: 150.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/5.31, allocations: 329.9 kB / 3.136 GB, free: 150.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/5.311, allocations: 140.6 kB / 3.136 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/5.311, allocations: 8.906 kB / 3.136 GB, free: 150.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/5.311, allocations: 361.6 kB / 3.136 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/5.311, allocations: 147.1 kB / 3.137 GB, free: 150.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/5.311, allocations: 275.6 kB / 3.137 GB, free: 150.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/5.311, allocations: 191.3 kB / 3.137 GB, free: 150.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/5.311, allocations: 0 / 3.137 GB, free: 150.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000601/5.312, allocations: 495.8 kB / 3.137 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/5.312, allocations: 0.8791 MB / 3.138 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/5.312, allocations: 3.938 kB / 3.138 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/5.312, allocations: 13.59 kB / 3.138 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/5.313, allocations: 111.6 kB / 3.138 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002418/5.313, allocations: 0.5913 MB / 3.139 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/5.314, allocations: 78.8 kB / 3.139 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/5.314, allocations: 19.91 kB / 3.139 GB, free: 148.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/5.314, allocations: 3.594 kB / 3.139 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005249/5.314, allocations: 413.9 kB / 3.139 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/5.314, allocations: 2.969 kB / 3.139 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/5.314, allocations: 8.328 kB / 3.14 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/5.315, allocations: 104.6 kB / 3.14 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/5.315, allocations: 6.781 kB / 3.14 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/5.315, allocations: 77.12 kB / 3.14 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/5.315, allocations: 18.64 kB / 3.14 GB, free: 148.6 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.0001283/5.315, allocations: 138 kB / 3.14 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/5.315, allocations: 58.31 kB / 3.14 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/5.316, allocations: 440 kB / 3.14 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/5.316, allocations: 3.312 kB / 3.14 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/5.316, allocations: 0 / 3.14 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004556/5.316, allocations: 0.6671 MB / 3.141 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/5.318, allocations: 1.243 MB / 3.142 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/5.318, allocations: 3.688 kB / 3.142 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/5.318, allocations: 114.4 kB / 3.142 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/5.318, allocations: 3.562 kB / 3.142 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/5.319, allocations: 13.55 kB / 3.142 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001561/5.319, allocations: 0.5923 MB / 3.143 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.319, allocations: 0.8438 kB / 3.143 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007721/5.319, allocations: 0.8417 MB / 3.144 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/5.32, allocations: 179.5 kB / 3.144 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/5.32, allocations: 18.48 kB / 3.144 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/5.32, allocations: 48.14 kB / 3.144 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/5.32, allocations: 25.47 kB / 3.144 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/5.32, allocations: 18.55 kB / 3.144 GB, free: 146.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002902/5.321, allocations: 343.1 kB / 3.144 GB, free: 146.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.321, allocations: 0 / 3.144 GB, free: 146.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001138/5.322, allocations: 499.2 kB / 3.145 GB, free: 146.4 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.002452/5.324, allocations: 3.129 MB / 3.148 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000913/5.325, allocations: 0.6201 MB / 3.148 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/5.325, allocations: 0 / 3.148 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/5.325, allocations: 197.8 kB / 3.149 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/5.327, allocations: 357.7 kB / 3.149 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/5.329, allocations: 1.272 MB / 3.15 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/5.329, allocations: 0.9636 MB / 3.151 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007793/5.33, allocations: 252.2 kB / 3.151 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/5.33, allocations: 220.7 kB / 3.152 GB, free: 143.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/5.33, allocations: 0 / 3.152 GB, free: 143.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/5.384, allocations: 42.69 MB / 3.193 GB, free: 135 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/5.384, allocations: 214.7 kB / 3.194 GB, free: 134.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/8.533, allocations: 0 / 3.194 GB, free: 134.7 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)