Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.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.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") translateModel(BuildingSystems.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.0009523/0.0009521, allocations: 172.9 kB / 182.2 MB, free: 9.453 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.393/1.393, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.000864/0.000864, allocations: 84.05 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001688, allocations: 274.3 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.493e-05, allocations: 8 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4671, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.647/5.114, allocations: 1.889 GB / 2.646 GB, free: 130 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/5.114, allocations: 91.2 kB / 2.646 GB, free: 130 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.785/6.899, allocations: 482.1 MB / 3.117 GB, free: 159.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/6.899, allocations: 3.938 kB / 3.117 GB, free: 159.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.639e-05/6.899, allocations: 24.28 kB / 3.117 GB, free: 159.5 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002695/6.902, allocations: 0.9892 MB / 3.118 GB, free: 159 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/6.902, allocations: 11.72 kB / 3.118 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/6.904, allocations: 208.4 kB / 3.118 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/6.906, allocations: 0.8951 MB / 3.119 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/6.906, allocations: 17.94 kB / 3.119 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/6.906, allocations: 38.88 kB / 3.119 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007814/6.907, allocations: 434.5 kB / 3.119 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/6.908, allocations: 0.5087 MB / 3.12 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/6.908, allocations: 0 / 3.12 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/6.908, allocations: 0 / 3.12 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/6.908, allocations: 18.38 kB / 3.12 GB, free: 158.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.002698/6.911, allocations: 2.284 MB / 3.122 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/6.911, allocations: 315.6 kB / 3.122 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/6.911, allocations: 192.7 kB / 3.123 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/6.912, allocations: 300.6 kB / 3.123 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/6.912, allocations: 40.38 kB / 3.123 GB, free: 157 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 1.413e-06/6.912, allocations: 0 / 3.123 GB, free: 157 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.0009091/6.913, allocations: 419.1 kB / 3.123 GB, free: 157 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/6.913, allocations: 61.53 kB / 3.123 GB, free: 156.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/6.913, allocations: 363.1 kB / 3.124 GB, free: 156.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/6.913, allocations: 25.7 kB / 3.124 GB, free: 156.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/6.913, allocations: 321.7 kB / 3.124 GB, free: 156.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/6.914, allocations: 122.2 kB / 3.124 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/6.914, allocations: 0 / 3.124 GB, free: 156.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/6.914, allocations: 360.5 kB / 3.124 GB, free: 156.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/6.914, allocations: 134.8 kB / 3.125 GB, free: 156.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/6.914, allocations: 267.2 kB / 3.125 GB, free: 156.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/6.914, allocations: 207.2 kB / 3.125 GB, free: 156.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/6.914, allocations: 1.438 kB / 3.125 GB, free: 156.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00062/6.915, allocations: 456.9 kB / 3.125 GB, free: 156 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/6.915, allocations: 0.8853 MB / 3.126 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/6.915, allocations: 0 / 3.126 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/6.915, allocations: 7.812 kB / 3.126 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/6.916, allocations: 99.45 kB / 3.126 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002686/6.916, allocations: 0.5968 MB / 3.127 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/6.917, allocations: 67.88 kB / 3.127 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/6.917, allocations: 18.16 kB / 3.127 GB, free: 154.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/6.917, allocations: 4.25 kB / 3.127 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005698/6.917, allocations: 377 kB / 3.127 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/6.917, allocations: 3.812 kB / 3.127 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.73e-06/6.917, allocations: 3.656 kB / 3.127 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/6.918, allocations: 85.12 kB / 3.128 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/6.918, allocations: 6.969 kB / 3.128 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/6.918, allocations: 56.3 kB / 3.128 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/6.918, allocations: 19.84 kB / 3.128 GB, free: 154.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 (49): * Single equations (assignments): 48 * 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 9.918e-05/6.918, allocations: 111.4 kB / 3.128 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/6.918, allocations: 56.61 kB / 3.128 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006059/6.919, allocations: 417.5 kB / 3.128 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/6.919, allocations: 2.844 kB / 3.128 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/6.919, allocations: 0 / 3.128 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004628/6.919, allocations: 0.6429 MB / 3.129 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/6.921, allocations: 1.106 MB / 3.13 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/6.921, allocations: 0 / 3.13 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/6.921, allocations: 97.27 kB / 3.13 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/6.921, allocations: 3.781 kB / 3.13 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/6.921, allocations: 6.5 kB / 3.13 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001806/6.921, allocations: 0.5933 MB / 3.131 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/6.921, allocations: 0 / 3.131 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/6.922, allocations: 0.8018 MB / 3.131 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/6.922, allocations: 170.1 kB / 3.132 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/6.922, allocations: 10.33 kB / 3.132 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/6.923, allocations: 41.97 kB / 3.132 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/6.923, allocations: 23.03 kB / 3.132 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/6.923, allocations: 18.12 kB / 3.132 GB, free: 152.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002398/6.923, allocations: 279.8 kB / 3.132 GB, free: 152.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/6.923, allocations: 3.219 kB / 3.132 GB, free: 152.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001077/6.924, allocations: 431.7 kB / 3.132 GB, free: 152.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],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.001716/6.926, allocations: 1.558 MB / 3.134 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008686/6.927, allocations: 0.549 MB / 3.134 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/6.927, allocations: 0 / 3.134 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/6.927, allocations: 175.4 kB / 3.135 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/6.929, allocations: 310.5 kB / 3.135 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/6.93, allocations: 1.035 MB / 3.136 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/6.93, allocations: 0.9559 MB / 3.137 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007102/6.931, allocations: 228.4 kB / 3.137 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/6.931, allocations: 45.03 kB / 3.137 GB, free: 150.9 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/6.931, allocations: 3.531 kB / 3.137 GB, free: 150.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02397/6.955, allocations: 18.33 MB / 3.155 GB, free: 149.5 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)