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.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.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.006022/0.006022, allocations: 95.78 kB / 15.73 MB, free: 6.027 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.001274/0.001274, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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 1.019/1.019, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.91 kB / 0.5955 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5315, allocations: 82.04 MB / 0.6756 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.2341/0.7656, allocations: 195.2 MB / 0.8663 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5204/1.286, allocations: 14.35 MB / 0.8803 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/1.288, allocations: 36.69 kB / 0.8803 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/1.289, allocations: 0.4954 MB / 0.8808 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004627/1.294, allocations: 1.886 MB / 0.8826 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/1.296, allocations: 0.869 MB / 0.8835 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003671/1.3, allocations: 2.574 MB / 0.886 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/1.302, allocations: 1.107 MB / 0.8871 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004693/1.306, allocations: 1.595 MB / 0.8886 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/1.308, allocations: 0.9247 MB / 0.8896 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002492/1.309, allocations: 107.2 kB / 0.8897 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/1.312, allocations: 1.099 MB / 0.8907 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008517/1.312, allocations: 0.4945 MB / 0.8912 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/1.314, allocations: 0.6347 MB / 0.8918 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003507/1.317, allocations: 2 MB / 0.8938 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.317, allocations: 2.578 kB / 0.8938 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.824e-06/1.317, allocations: 0.6562 kB / 0.8938 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.675e-05/1.317, allocations: 0.875 kB / 0.8938 GB, free: 1.48 MB / 0.6856 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.002543/1.32, allocations: 1.486 MB / 0.8952 GB, free: 16.67 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.32, allocations: 8.219 kB / 0.8952 GB, free: 16.67 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.321, allocations: 260 kB / 0.8955 GB, free: 16.61 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/1.323, allocations: 0.808 MB / 0.8963 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/1.323, allocations: 68.34 kB / 0.8963 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/1.323, allocations: 94.72 kB / 0.8964 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/1.324, allocations: 1.172 MB / 0.8976 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/1.324, allocations: 6.688 kB / 0.8976 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/1.324, allocations: 41.31 kB / 0.8976 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/1.325, allocations: 34.66 kB / 0.8977 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/1.326, allocations: 0.8963 MB / 0.8985 GB, free: 16.04 MB / 0.7012 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.00591/1.332, allocations: 5.759 MB / 0.9042 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/1.333, allocations: 0.5408 MB / 0.9047 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/1.333, allocations: 315.5 kB / 0.905 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006147/1.334, allocations: 313.7 kB / 0.9053 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/1.334, allocations: 38.31 kB / 0.9053 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.785e-06/1.334, allocations: 1.531 kB / 0.9053 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.00148/1.335, allocations: 0.8085 MB / 0.9061 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.335, allocations: 61.34 kB / 0.9062 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008729/1.336, allocations: 0.7485 MB / 0.9069 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/1.336, allocations: 42.84 kB / 0.9069 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/1.336, allocations: 0.513 MB / 0.9074 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/1.337, allocations: 187.4 kB / 0.9076 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/1.337, allocations: 146.8 kB / 0.9078 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.337, allocations: 334.4 kB / 0.9081 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/1.337, allocations: 243.8 kB / 0.9083 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/1.338, allocations: 0.552 MB / 0.9089 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009583/1.339, allocations: 0.8034 MB / 0.9096 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.339, allocations: 8.156 kB / 0.9096 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001271/1.34, allocations: 0.8447 MB / 0.9105 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/1.34, allocations: 8.969 kB / 0.9105 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.34, allocations: 8.5 kB / 0.9105 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/1.34, allocations: 10.97 kB / 0.9105 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/1.341, allocations: 159.9 kB / 0.9107 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/1.341, allocations: 14.09 kB / 0.9107 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/1.342, allocations: 91.88 kB / 0.9108 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/1.342, allocations: 39.75 kB / 0.9108 GB, free: 10.11 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004506/1.342, allocations: 331.8 kB / 0.9111 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/1.342, allocations: 95.33 kB / 0.9112 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/1.343, allocations: 0.6184 MB / 0.9118 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.343, allocations: 6.312 kB / 0.9118 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.343, allocations: 0 / 0.9118 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006535/1.344, allocations: 0.5224 MB / 0.9123 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/1.346, allocations: 1.666 MB / 0.9139 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.346, allocations: 7.625 kB / 0.914 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/1.347, allocations: 112.8 kB / 0.9141 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/1.347, allocations: 4.719 kB / 0.9141 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/1.347, allocations: 13.78 kB / 0.9141 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/1.347, allocations: 12 kB / 0.9141 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.347, allocations: 2.25 kB / 0.9141 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/1.348, allocations: 1.022 MB / 0.9151 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/1.349, allocations: 229.1 kB / 0.9153 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.349, allocations: 17.73 kB / 0.9153 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/1.349, allocations: 15.02 kB / 0.9153 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/1.349, allocations: 35.48 kB / 0.9154 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.349, allocations: 18.73 kB / 0.9154 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005618/1.35, allocations: 0.5137 MB / 0.9159 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.35, allocations: 0 / 0.9159 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000941/1.351, allocations: 300.4 kB / 0.9162 GB, free: 8.891 MB / 0.7012 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,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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005285/1.351, allocations: 217.7 kB / 0.9164 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009149/1.352, allocations: 0.611 MB / 0.917 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.352, allocations: 3.438 kB / 0.917 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/1.353, allocations: 274.2 kB / 0.9173 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/1.354, allocations: 448.4 kB / 0.9177 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/1.357, allocations: 1.96 MB / 0.9196 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/1.358, allocations: 1.12 MB / 0.9207 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007509/1.359, allocations: 267.1 kB / 0.9209 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/1.359, allocations: 70.36 kB / 0.921 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of SimCode: time 4.61e-07/1.359, allocations: 0 / 0.921 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of Templates: time 0.02613/1.385, allocations: 15.59 MB / 0.9362 GB, free: 3.758 MB / 0.7012 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (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)