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.001441/0.001441, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001652, allocations: 196.9 kB / 16.63 MB, free: 6.613 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.387/1.387, allocations: 222.9 MB / 240.3 MB, free: 4.367 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.01/1.01, allocations: 143 MB / 433.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.5955 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.507, allocations: 82.03 MB / 0.6756 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.211/0.7181, allocations: 195.2 MB / 0.8662 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5364/1.255, allocations: 14.34 MB / 0.8802 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/1.257, allocations: 35.59 kB / 0.8803 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/1.259, allocations: 0.4975 MB / 0.8807 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005622/1.264, allocations: 1.889 MB / 0.8826 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/1.267, allocations: 0.8689 MB / 0.8834 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004712/1.272, allocations: 2.569 MB / 0.8859 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00252/1.274, allocations: 1.12 MB / 0.887 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006129/1.281, allocations: 1.598 MB / 0.8886 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/1.284, allocations: 0.9191 MB / 0.8895 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004033/1.284, allocations: 106.8 kB / 0.8896 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003964/1.288, allocations: 1.099 MB / 0.8907 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007902/1.289, allocations: 0.4953 MB / 0.8912 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002162/1.291, allocations: 0.6348 MB / 0.8918 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006154/1.297, allocations: 1.98 MB / 0.8937 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/1.297, allocations: 1.844 kB / 0.8937 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.056e-06/1.297, allocations: 0 / 0.8937 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.244e-05/1.297, allocations: 0.7188 kB / 0.8937 GB, free: 1.465 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.003538/1.301, allocations: 1.454 MB / 0.8951 GB, free: 16.69 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.301, allocations: 10.03 kB / 0.8951 GB, free: 16.69 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/1.302, allocations: 250.9 kB / 0.8954 GB, free: 16.63 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/1.304, allocations: 0.7957 MB / 0.8962 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/1.304, allocations: 71.94 kB / 0.8962 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/1.304, allocations: 93.56 kB / 0.8963 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/1.306, allocations: 1.173 MB / 0.8975 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/1.306, allocations: 0 / 0.8975 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.169e-05/1.306, allocations: 40.59 kB / 0.8975 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/1.306, allocations: 34.62 kB / 0.8975 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.307, allocations: 0.9052 MB / 0.8984 GB, free: 16.08 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.005145/1.312, allocations: 5.748 MB / 0.904 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007286/1.313, allocations: 0.5359 MB / 0.9046 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/1.313, allocations: 323.8 kB / 0.9049 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007375/1.314, allocations: 313 kB / 0.9052 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/1.314, allocations: 42 kB / 0.9052 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/1.314, allocations: 0 / 0.9052 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001886/1.316, allocations: 0.7969 MB / 0.906 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.316, allocations: 56.25 kB / 0.906 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.317, allocations: 0.7563 MB / 0.9068 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/1.317, allocations: 38.11 kB / 0.9068 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/1.317, allocations: 0.509 MB / 0.9073 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/1.318, allocations: 178 kB / 0.9075 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/1.318, allocations: 140.2 kB / 0.9076 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.318, allocations: 339.6 kB / 0.9079 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/1.319, allocations: 248.6 kB / 0.9082 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/1.319, allocations: 0.5489 MB / 0.9087 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/1.321, allocations: 0.8065 MB / 0.9095 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/1.321, allocations: 6.969 kB / 0.9095 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001587/1.322, allocations: 0.844 MB / 0.9103 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.322, allocations: 10.28 kB / 0.9103 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.322, allocations: 17.84 kB / 0.9104 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/1.322, allocations: 10.12 kB / 0.9104 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/1.323, allocations: 158 kB / 0.9105 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/1.323, allocations: 16.28 kB / 0.9105 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.324, allocations: 90.05 kB / 0.9106 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/1.324, allocations: 34.22 kB / 0.9106 GB, free: 10.17 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.0006478/1.325, allocations: 328.2 kB / 0.911 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/1.325, allocations: 89.5 kB / 0.911 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.327, allocations: 0.6151 MB / 0.9116 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.327, allocations: 9.156 kB / 0.9117 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/1.327, allocations: 48 / 0.9117 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009074/1.327, allocations: 0.5264 MB / 0.9122 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/1.331, allocations: 1.663 MB / 0.9138 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.331, allocations: 3.281 kB / 0.9138 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000693/1.331, allocations: 109.7 kB / 0.9139 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/1.331, allocations: 6.188 kB / 0.9139 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/1.331, allocations: 15.75 kB / 0.9139 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/1.331, allocations: 9.031 kB / 0.9139 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.331, allocations: 2.297 kB / 0.9139 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/1.333, allocations: 1.021 MB / 0.9149 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/1.334, allocations: 230.4 kB / 0.9151 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/1.334, allocations: 9.875 kB / 0.9152 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007258/1.335, allocations: 25.94 kB / 0.9152 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/1.335, allocations: 32.23 kB / 0.9152 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/1.335, allocations: 20.25 kB / 0.9152 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009451/1.336, allocations: 0.5125 MB / 0.9157 GB, free: 9 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/1.336, allocations: 0.75 kB / 0.9157 GB, free: 9 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001498/1.337, allocations: 296.5 kB / 0.916 GB, free: 8.961 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.000673/1.338, allocations: 222.6 kB / 0.9162 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009787/1.339, allocations: 0.6096 MB / 0.9168 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.339, allocations: 0.8438 kB / 0.9168 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/1.339, allocations: 270.6 kB / 0.9171 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.342, allocations: 441.2 kB / 0.9175 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/1.346, allocations: 1.922 MB / 0.9194 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.347, allocations: 1.118 MB / 0.9205 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001312/1.349, allocations: 270 kB / 0.9207 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/1.349, allocations: 71.14 kB / 0.9208 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of SimCode: time 6.81e-07/1.349, allocations: 1.203 kB / 0.9208 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of Templates: time 0.03787/1.387, allocations: 15.42 MB / 0.9359 GB, free: 3.969 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)