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.7751/0.7751, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001076/0.001076, allocations: 184 kB / 187.3 MB, free: 11.88 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.494/1.494, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.00104/0.00104, allocations: 102.6 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 267.7 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.39e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.506, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.905/5.411, allocations: 1.886 GB / 2.65 GB, free: 161.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/5.411, allocations: 90.73 kB / 2.65 GB, free: 161.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.781/7.192, allocations: 489.6 MB / 3.128 GB, free: 153.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.774e-06/7.192, allocations: 0 / 3.128 GB, free: 153.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.247e-05/7.192, allocations: 19.78 kB / 3.128 GB, free: 153.3 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.002101/7.194, allocations: 1.03 MB / 3.129 GB, free: 152.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/7.194, allocations: 10.5 kB / 3.129 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/7.196, allocations: 268.5 kB / 3.13 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/7.197, allocations: 0.6125 MB / 3.13 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/7.197, allocations: 43.53 kB / 3.13 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/7.198, allocations: 52.62 kB / 3.13 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/7.198, allocations: 0.5825 MB / 3.131 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/7.198, allocations: 0 / 3.131 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/7.199, allocations: 20.44 kB / 3.131 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/7.199, allocations: 21.88 kB / 3.131 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/7.199, allocations: 473.2 kB / 3.131 GB, free: 152.4 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.002898/7.202, allocations: 2.423 MB / 3.134 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/7.203, allocations: 344.3 kB / 3.134 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/7.203, allocations: 214.4 kB / 3.134 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004705/7.203, allocations: 299.2 kB / 3.134 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/7.204, allocations: 42.92 kB / 3.134 GB, free: 150.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.384e-06/7.204, allocations: 0 / 3.134 GB, free: 150.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0009512/7.204, allocations: 425.8 kB / 3.135 GB, free: 150.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/7.205, allocations: 62.34 kB / 3.135 GB, free: 150.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/7.205, allocations: 437.3 kB / 3.135 GB, free: 150.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/7.205, allocations: 36.3 kB / 3.135 GB, free: 150.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/7.205, allocations: 320.3 kB / 3.136 GB, free: 150.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/7.205, allocations: 143.2 kB / 3.136 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/7.205, allocations: 5.5 kB / 3.136 GB, free: 150.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001146/7.206, allocations: 368.8 kB / 3.136 GB, free: 150 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/7.206, allocations: 145 kB / 3.136 GB, free: 150 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/7.206, allocations: 281.9 kB / 3.137 GB, free: 149.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/7.206, allocations: 185 kB / 3.137 GB, free: 149.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/7.206, allocations: 3.469 kB / 3.137 GB, free: 149.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006769/7.207, allocations: 492.2 kB / 3.137 GB, free: 149.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/7.207, allocations: 0.876 MB / 3.138 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/7.207, allocations: 0 / 3.138 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/7.207, allocations: 7.281 kB / 3.138 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/7.208, allocations: 114.6 kB / 3.138 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002837/7.208, allocations: 0.598 MB / 3.139 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/7.209, allocations: 82.77 kB / 3.139 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/7.209, allocations: 19.59 kB / 3.139 GB, free: 148.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/7.209, allocations: 3.781 kB / 3.139 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005732/7.21, allocations: 416 kB / 3.139 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/7.21, allocations: 0 / 3.139 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/7.21, allocations: 14.47 kB / 3.139 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/7.21, allocations: 97.77 kB / 3.139 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/7.21, allocations: 7.688 kB / 3.139 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/7.211, allocations: 75.36 kB / 3.14 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/7.211, allocations: 18.09 kB / 3.14 GB, free: 148.3 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.000125/7.211, allocations: 131.5 kB / 3.14 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/7.211, allocations: 66.2 kB / 3.14 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007048/7.212, allocations: 445.3 kB / 3.14 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/7.212, allocations: 2.25 kB / 3.14 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/7.212, allocations: 0 / 3.14 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005057/7.212, allocations: 0.6659 MB / 3.141 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/7.214, allocations: 1.234 MB / 3.142 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/7.214, allocations: 3.5 kB / 3.142 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/7.214, allocations: 108.1 kB / 3.142 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/7.214, allocations: 3.219 kB / 3.142 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/7.214, allocations: 15.34 kB / 3.142 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002161/7.215, allocations: 0.5986 MB / 3.143 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.215, allocations: 6.094 kB / 3.143 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/7.215, allocations: 0.8349 MB / 3.144 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/7.216, allocations: 183.3 kB / 3.144 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/7.216, allocations: 17.36 kB / 3.144 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/7.216, allocations: 49.91 kB / 3.144 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/7.216, allocations: 23.84 kB / 3.144 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/7.216, allocations: 18.02 kB / 3.144 GB, free: 146.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003528/7.217, allocations: 345.2 kB / 3.144 GB, free: 146.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/7.217, allocations: 0 / 3.144 GB, free: 146.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001499/7.218, allocations: 496.6 kB / 3.145 GB, free: 146.1 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.001992/7.22, allocations: 1.381 MB / 3.146 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001206/7.222, allocations: 0.624 MB / 3.147 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/7.222, allocations: 0 / 3.147 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/7.222, allocations: 199 kB / 3.147 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/7.224, allocations: 349.4 kB / 3.147 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/7.226, allocations: 1.087 MB / 3.148 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/7.226, allocations: 0.9624 MB / 3.149 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000855/7.227, allocations: 253.9 kB / 3.149 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/7.227, allocations: 41.81 kB / 3.149 GB, free: 144.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/7.227, allocations: 3.938 kB / 3.149 GB, free: 144.7 MB / 0.698 GB Notification: Performance of Templates: time 0.04155/7.268, allocations: 32.33 MB / 3.181 GB, free: 142.9 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)