Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json 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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 109 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 189.7 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8769/0.8769, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 68.98 kB / 0.5962 GB, free: 12.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1572, allocations: 82.02 MB / 0.6763 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.5578/0.715, allocations: 187.4 MB / 0.8593 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008092/0.7231, allocations: 4.582 MB / 0.8638 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.7241, allocations: 31.81 kB / 0.8638 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.7253, allocations: 429.4 kB / 0.8642 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.7289, allocations: 1.4 MB / 0.8656 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.7309, allocations: 0.7556 MB / 0.8663 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002662/0.7336, allocations: 1.96 MB / 0.8682 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008434/0.7344, allocations: 0.5539 MB / 0.8688 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/0.7374, allocations: 1.116 MB / 0.8699 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.7384, allocations: 0.5875 MB / 0.8704 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.7386, allocations: 64 kB / 0.8705 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.7412, allocations: 1.391 MB / 0.8719 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.7415, allocations: 299.1 kB / 0.8721 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.742, allocations: 414.1 kB / 0.8725 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.7445, allocations: 1.53 MB / 0.874 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7445, allocations: 0 / 0.874 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7445, allocations: 0 / 0.874 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.7446, allocations: 0 / 0.874 GB, free: 3.602 MB / 0.6387 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.001748/0.7463, allocations: 1.128 MB / 0.8751 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.7463, allocations: 12.03 kB / 0.8751 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.7476, allocations: 207.3 kB / 0.8753 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/0.7486, allocations: 0.6187 MB / 0.8759 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.7486, allocations: 41.3 kB / 0.876 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.7487, allocations: 56 kB / 0.876 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009877/0.7497, allocations: 0.6245 MB / 0.8767 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.7497, allocations: 0 / 0.8767 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.7498, allocations: 27.94 kB / 0.8767 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.7498, allocations: 17.31 kB / 0.8767 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/0.7506, allocations: 0.4969 MB / 0.8772 GB, free: 276 kB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002966/0.7536, allocations: 2.397 MB / 0.8795 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.7542, allocations: 346.7 kB / 0.8799 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.7545, allocations: 205.3 kB / 0.88 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/0.755, allocations: 307.2 kB / 0.8803 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.7551, allocations: 46.55 kB / 0.8804 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.513e-06/0.7551, allocations: 0 / 0.8804 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36): time 0.001148/0.7562, allocations: 0.5463 MB / 0.8809 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.7563, allocations: 59.39 kB / 0.881 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006052/0.7569, allocations: 0.4951 MB / 0.8815 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.7569, allocations: 33.7 kB / 0.8815 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.7572, allocations: 328.3 kB / 0.8818 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.7573, allocations: 142.8 kB / 0.8819 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.7574, allocations: 78.14 kB / 0.882 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.7576, allocations: 366.7 kB / 0.8824 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.7579, allocations: 150.5 kB / 0.8825 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.7582, allocations: 267.6 kB / 0.8828 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/0.7588, allocations: 406.2 kB / 0.8832 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7588, allocations: 0.875 kB / 0.8832 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007374/0.7595, allocations: 493.5 kB / 0.8836 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7595, allocations: 6.031 kB / 0.8836 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7595, allocations: 4 kB / 0.8836 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7596, allocations: 4 kB / 0.8836 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.7601, allocations: 101.4 kB / 0.8837 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000399/0.7605, allocations: 0.6019 MB / 0.8843 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.7609, allocations: 40.61 kB / 0.8844 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.761, allocations: 15.98 kB / 0.8844 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004491/0.7614, allocations: 333.5 kB / 0.8847 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003187/0.7617, allocations: 259.5 kB / 0.8849 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005448/0.7623, allocations: 400.6 kB / 0.8853 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.7623, allocations: 0 / 0.8853 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007088/0.763, allocations: 489 kB / 0.8858 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.763, allocations: 12.06 kB / 0.8858 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-06/0.763, allocations: 3.938 kB / 0.8858 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.763, allocations: 11.94 kB / 0.8858 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.7633, allocations: 87.83 kB / 0.8859 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.7633, allocations: 4 kB / 0.8859 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.7637, allocations: 36.84 kB / 0.8859 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.7638, allocations: 23.97 kB / 0.886 GB, free: 6.766 MB / 0.6544 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.764, allocations: 209 kB / 0.8862 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.7641, allocations: 63.56 kB / 0.8862 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007538/0.7648, allocations: 447.7 kB / 0.8866 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7648, allocations: 0 / 0.8866 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7648, allocations: 8 kB / 0.8867 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006609/0.7655, allocations: 0.6557 MB / 0.8873 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.7672, allocations: 1.219 MB / 0.8885 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7672, allocations: 0 / 0.8885 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.7676, allocations: 87.89 kB / 0.8886 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.7676, allocations: 0 / 0.8886 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.7676, allocations: 16.22 kB / 0.8886 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003453/0.768, allocations: 0.5938 MB / 0.8892 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.768, allocations: 0 / 0.8892 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009385/0.7689, allocations: 0.7204 MB / 0.8899 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.7691, allocations: 176.7 kB / 0.89 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.7692, allocations: 11.94 kB / 0.89 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.7696, allocations: 11.98 kB / 0.8901 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.7696, allocations: 27.97 kB / 0.8901 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.7696, allocations: 16 kB / 0.8901 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004112/0.7701, allocations: 358.8 kB / 0.8904 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7701, allocations: 0 / 0.8904 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008572/0.7709, allocations: 347.3 kB / 0.8908 GB, free: 1.574 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004482/0.7714, allocations: 195.7 kB / 0.891 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.7725, allocations: 0.5696 MB / 0.8915 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7725, allocations: 4 kB / 0.8915 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.7728, allocations: 177.2 kB / 0.8917 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.7743, allocations: 372.4 kB / 0.892 GB, free: 284 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.7765, allocations: 1.403 MB / 0.8934 GB, free: 14.81 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.7771, allocations: 0.9414 MB / 0.8943 GB, free: 13.84 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.7772, allocations: 51.44 kB / 0.8944 GB, free: 13.79 MB / 0.67 GB Notification: Performance of SimCode: time 4.7e-07/0.7772, allocations: 0 / 0.8944 GB, free: 13.79 MB / 0.67 GB Notification: Performance of Templates: time 0.0176/0.7948, allocations: 12.77 MB / 0.9069 GB, free: 1.105 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)