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: translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7968/0.7968, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001128/0.001128, allocations: 168.8 kB / 182.2 MB, free: 9.438 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.637/1.637, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008814/0.0008813, allocations: 84.11 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 281.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.888e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4719, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.408/4.88, allocations: 1.885 GB / 2.642 GB, free: 177.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/4.881, allocations: 91.83 kB / 2.643 GB, free: 177.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.717/6.598, allocations: 484.1 MB / 3.115 GB, free: 152.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/6.598, allocations: 0 / 3.115 GB, free: 152.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.192e-05/6.598, allocations: 18.38 kB / 3.115 GB, free: 152.4 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.002498/6.6, allocations: 1.029 MB / 3.116 GB, free: 152 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/6.6, allocations: 7.719 kB / 3.116 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/6.602, allocations: 267.4 kB / 3.117 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/6.603, allocations: 0.6095 MB / 3.117 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/6.603, allocations: 14.84 kB / 3.117 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/6.603, allocations: 37.89 kB / 3.117 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006929/6.604, allocations: 441.4 kB / 3.118 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007819/6.605, allocations: 0.5137 MB / 3.118 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/6.605, allocations: 2.562 kB / 3.118 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/6.605, allocations: 0 / 3.118 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/6.605, allocations: 19.44 kB / 3.118 GB, free: 151.6 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.002454/6.608, allocations: 2.312 MB / 3.12 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/6.608, allocations: 334.7 kB / 3.121 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/6.608, allocations: 197.2 kB / 3.121 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004568/6.609, allocations: 310 kB / 3.121 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/6.609, allocations: 43.27 kB / 3.121 GB, free: 150 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/6.609, allocations: 0 / 3.121 GB, free: 150 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0009098/6.61, allocations: 426.4 kB / 3.122 GB, free: 150 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/6.61, allocations: 58.88 kB / 3.122 GB, free: 149.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/6.61, allocations: 360.9 kB / 3.122 GB, free: 149.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/6.61, allocations: 25.7 kB / 3.122 GB, free: 149.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/6.61, allocations: 327.6 kB / 3.122 GB, free: 149.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/6.61, allocations: 136.9 kB / 3.123 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/6.61, allocations: 0 / 3.123 GB, free: 149.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/6.61, allocations: 367.8 kB / 3.123 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/6.611, allocations: 136 kB / 3.123 GB, free: 149.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/6.611, allocations: 258.9 kB / 3.123 GB, free: 149.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/6.611, allocations: 209.3 kB / 3.124 GB, free: 149.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/6.611, allocations: 3.625 kB / 3.124 GB, free: 149.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006457/6.612, allocations: 473.3 kB / 3.124 GB, free: 149 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/6.612, allocations: 0.8791 MB / 3.125 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/6.612, allocations: 3.047 kB / 3.125 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/6.612, allocations: 15.2 kB / 3.125 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/6.613, allocations: 111 kB / 3.125 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00027/6.613, allocations: 0.5948 MB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/6.614, allocations: 71.09 kB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/6.614, allocations: 23.78 kB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/6.614, allocations: 3.469 kB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005875/6.614, allocations: 386.6 kB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/6.614, allocations: 5.375 kB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/6.614, allocations: 2.688 kB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/6.615, allocations: 105.3 kB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/6.615, allocations: 6.031 kB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/6.615, allocations: 63.42 kB / 3.126 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/6.616, allocations: 22.56 kB / 3.126 GB, free: 147.5 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.0001308/6.616, allocations: 116.8 kB / 3.126 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/6.616, allocations: 62.23 kB / 3.126 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/6.616, allocations: 422.6 kB / 3.127 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/6.617, allocations: 10.3 kB / 3.127 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/6.617, allocations: 0 / 3.127 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005632/6.617, allocations: 0.6583 MB / 3.127 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/6.619, allocations: 1.154 MB / 3.129 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/6.619, allocations: 0 / 3.129 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/6.619, allocations: 114.9 kB / 3.129 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/6.619, allocations: 7.719 kB / 3.129 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/6.619, allocations: 6.5 kB / 3.129 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002111/6.62, allocations: 0.5915 MB / 3.129 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/6.62, allocations: 3.953 kB / 3.129 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/6.621, allocations: 0.8194 MB / 3.13 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/6.621, allocations: 178.3 kB / 3.13 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/6.621, allocations: 6.953 kB / 3.13 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/6.621, allocations: 44.91 kB / 3.13 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/6.622, allocations: 29.73 kB / 3.13 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/6.622, allocations: 16.56 kB / 3.13 GB, free: 145.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002856/6.622, allocations: 285.6 kB / 3.131 GB, free: 145.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/6.622, allocations: 0 / 3.131 GB, free: 145.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001271/6.623, allocations: 439.3 kB / 3.131 GB, free: 145.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.002129/6.625, allocations: 1.557 MB / 3.133 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001065/6.626, allocations: 0.5831 MB / 3.133 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/6.626, allocations: 0 / 3.133 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/6.627, allocations: 190.4 kB / 3.133 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/6.628, allocations: 317.7 kB / 3.134 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/6.63, allocations: 1.067 MB / 3.135 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/6.631, allocations: 0.9644 MB / 3.136 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008883/6.631, allocations: 228.2 kB / 3.136 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/6.632, allocations: 41.75 kB / 3.136 GB, free: 143.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/6.632, allocations: 0 / 3.136 GB, free: 143.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02687/6.658, allocations: 18.78 MB / 3.154 GB, free: 143.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe 2>&1)