Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009405, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.00123/0.00123, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9902/0.9902, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 8 kB / 0.5158 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 83.4 MB / 0.5973 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4045/0.5609, allocations: 161.9 MB / 0.7553 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.576, allocations: 12.19 MB / 0.7672 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.5771, allocations: 27.81 kB / 0.7673 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.5786, allocations: 0.4938 MB / 0.7677 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.5828, allocations: 1.554 MB / 0.7693 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.5856, allocations: 0.9487 MB / 0.7702 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002494/0.5881, allocations: 1.48 MB / 0.7716 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.5894, allocations: 0.8276 MB / 0.7724 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.5916, allocations: 1.106 MB / 0.7735 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000972/0.5926, allocations: 0.6228 MB / 0.7741 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.5928, allocations: 48 kB / 0.7742 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.5944, allocations: 0.5305 MB / 0.7747 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005178/0.5949, allocations: 419 kB / 0.7751 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004122/0.5954, allocations: 253.1 kB / 0.7753 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.5971, allocations: 1.383 MB / 0.7767 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5971, allocations: 0 / 0.7767 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5971, allocations: 0 / 0.7767 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.5972, allocations: 0 / 0.7767 GB, free: 4.281 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001935/0.5991, allocations: 1.238 MB / 0.7779 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5991, allocations: 8.031 kB / 0.7779 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.6007, allocations: 254.3 kB / 0.7781 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.6022, allocations: 0.7521 MB / 0.7789 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.6023, allocations: 70 kB / 0.7789 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.6025, allocations: 99.95 kB / 0.779 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.6042, allocations: 1.161 MB / 0.7802 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.6043, allocations: 3.938 kB / 0.7802 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.331e-05/0.6044, allocations: 40 kB / 0.7802 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.6044, allocations: 30 kB / 0.7802 GB, free: 484 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.606, allocations: 0.9054 MB / 0.7811 GB, free: 15.57 MB / 0.6075 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.006231/0.6122, allocations: 5.751 MB / 0.7867 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009184/0.6131, allocations: 0.5812 MB / 0.7873 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/0.6136, allocations: 141.5 kB / 0.7875 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.6136, allocations: 39 kB / 0.7875 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 2.445e-06/0.6136, allocations: 4 kB / 0.7875 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.001751/0.6154, allocations: 0.8298 MB / 0.7883 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.6154, allocations: 85.55 kB / 0.7884 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.6164, allocations: 0.747 MB / 0.7891 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.6164, allocations: 37.7 kB / 0.7891 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.6168, allocations: 0.5027 MB / 0.7896 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.617, allocations: 189.5 kB / 0.7898 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.617, allocations: 12 kB / 0.7898 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6172, allocations: 334 kB / 0.7902 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.6176, allocations: 257.8 kB / 0.7904 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.6183, allocations: 0.5653 MB / 0.7909 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.6188, allocations: 360.5 kB / 0.7913 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.6188, allocations: 4 kB / 0.7913 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001348/0.6202, allocations: 0.8584 MB / 0.7921 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6202, allocations: 8 kB / 0.7921 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.6202, allocations: 8 kB / 0.7922 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.6202, allocations: 16.03 kB / 0.7922 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.6209, allocations: 167.7 kB / 0.7923 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.6209, allocations: 11.94 kB / 0.7923 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/0.6219, allocations: 147 kB / 0.7925 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.6219, allocations: 39.98 kB / 0.7925 GB, free: 3.199 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004692/0.6224, allocations: 333.5 kB / 0.7928 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.6226, allocations: 94.81 kB / 0.7929 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009669/0.6235, allocations: 0.6275 MB / 0.7935 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.6236, allocations: 4 kB / 0.7935 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.6236, allocations: 7.953 kB / 0.7935 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000687/0.6243, allocations: 0.5289 MB / 0.7941 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.6268, allocations: 1.77 MB / 0.7958 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6269, allocations: 0 / 0.7958 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.6274, allocations: 111.9 kB / 0.7959 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.6274, allocations: 7.984 kB / 0.7959 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.6275, allocations: 19.98 kB / 0.7959 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.6275, allocations: 4 kB / 0.7959 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.6275, allocations: 4 kB / 0.7959 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.6289, allocations: 1.137 MB / 0.797 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.6293, allocations: 235.8 kB / 0.7973 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.6294, allocations: 23.92 kB / 0.7973 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.63, allocations: 59.89 kB / 0.7973 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.6301, allocations: 43.84 kB / 0.7974 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.6301, allocations: 19.98 kB / 0.7974 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006123/0.6307, allocations: 0.5068 MB / 0.7979 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6307, allocations: 0 / 0.7979 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008772/0.6316, allocations: 299.3 kB / 0.7982 GB, free: 13.17 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004442/0.6321, allocations: 219.3 kB / 0.7984 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009546/0.633, allocations: 0.6243 MB / 0.799 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.633, allocations: 0 / 0.799 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.6334, allocations: 283.6 kB / 0.7993 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.6353, allocations: 427.3 kB / 0.7997 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.6383, allocations: 2.388 MB / 0.802 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.639, allocations: 1.146 MB / 0.8031 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008233/0.6398, allocations: 275.3 kB / 0.8034 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.64, allocations: 75.41 kB / 0.8035 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.64, allocations: 4 kB / 0.8035 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of Templates: time 0.02459/0.6646, allocations: 14.85 MB / 0.818 GB, free: 9.156 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: