Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000918/0.0009181, allocations: 92.7 kB / 16.02 MB, free: 80 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.001299/0.001299, allocations: 183.5 kB / 16.92 MB, free: 6.922 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.493/1.493, allocations: 223.3 MB / 241 MB, free: 5.32 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.045/1.045, allocations: 143.2 MB / 435.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 19.98 kB / 0.517 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1873, allocations: 83.41 MB / 0.5985 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.074/1.261, allocations: 299 MB / 0.8905 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03515/1.296, allocations: 25.77 MB / 0.9157 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006935/1.303, allocations: 111.8 kB / 0.9158 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005355/1.309, allocations: 1.535 MB / 0.9173 GB, free: 1.484 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0183/1.327, allocations: 5.624 MB / 0.9228 GB, free: 1.195 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007636/1.335, allocations: 2.384 MB / 0.9251 GB, free: 1.137 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01894/1.354, allocations: 12.42 MB / 0.9372 GB, free: 1.117 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007526/1.361, allocations: 2.993 MB / 0.9401 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01496/1.376, allocations: 3.547 MB / 0.9436 GB, free: 16.53 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008501/1.385, allocations: 2.937 MB / 0.9465 GB, free: 16.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001578/1.386, allocations: 154.2 kB / 0.9466 GB, free: 16.07 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/1.401, allocations: 5.269 MB / 0.9518 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004046/1.405, allocations: 1.427 MB / 0.9532 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007383/1.412, allocations: 1.888 MB / 0.955 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01173/1.424, allocations: 5.211 MB / 0.9601 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.424, allocations: 0 / 0.9601 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.997e-06/1.424, allocations: 0 / 0.9601 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003177/1.424, allocations: 3.938 kB / 0.9601 GB, free: 11.66 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: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01017/1.435, allocations: 3.45 MB / 0.9635 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.435, allocations: 9.25 kB / 0.9635 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007104/1.442, allocations: 0.9302 MB / 0.9644 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006547/1.448, allocations: 2.271 MB / 0.9666 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/1.449, allocations: 274.8 kB / 0.9669 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/1.45, allocations: 291 kB / 0.9671 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009176/1.459, allocations: 3.37 MB / 0.9704 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/1.459, allocations: 8.281 kB / 0.9704 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006155/1.46, allocations: 115.9 kB / 0.9705 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/1.46, allocations: 103.3 kB / 0.9706 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006406/1.466, allocations: 2.806 MB / 0.9734 GB, free: 6.117 MB / 0.6856 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.02169/1.488, allocations: 13.27 MB / 0.9863 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/1.491, allocations: 1.69 MB / 0.988 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/1.493, allocations: 1.11 MB / 0.9891 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/1.494, allocations: 330.5 kB / 0.9894 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.843e-05/1.494, allocations: 63.47 kB / 0.9895 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 6.172e-06/1.494, allocations: 0 / 0.9895 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.005884/1.5, allocations: 2.743 MB / 0.9921 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/1.5, allocations: 69.41 kB / 0.9922 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/1.504, allocations: 1.994 MB / 0.9941 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003833/1.504, allocations: 69.7 kB / 0.9942 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.506, allocations: 1.412 MB / 0.9956 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000864/1.507, allocations: 0.6362 MB / 0.9962 GB, free: 212 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/1.507, allocations: 173.6 kB / 0.9964 GB, free: 32 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.507, allocations: 305.1 kB / 0.9967 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/1.509, allocations: 0.8043 MB / 0.9975 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/1.511, allocations: 1.405 MB / 0.9988 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/1.514, allocations: 2.264 MB / 1.001 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/1.514, allocations: 4 kB / 1.001 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004805/1.519, allocations: 2.504 MB / 1.003 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004103/1.52, allocations: 0.4894 MB / 1.004 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.343e-05/1.52, allocations: 16 kB / 1.004 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-05/1.52, allocations: 20 kB / 1.004 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/1.522, allocations: 0.5576 MB / 1.005 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/1.525, allocations: 4.167 MB / 1.009 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/1.529, allocations: 393.7 kB / 1.009 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/1.529, allocations: 87.98 kB / 1.009 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.529, allocations: 8 kB / 1.009 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00383/1.533, allocations: 2.222 MB / 1.011 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/1.533, allocations: 16 kB / 1.011 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/1.533, allocations: 20.84 kB / 1.011 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/1.535, allocations: 482.8 kB / 1.012 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.537e-05/1.535, allocations: 29.53 kB / 1.012 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.538, allocations: 374 kB / 1.012 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/1.539, allocations: 87.98 kB / 1.012 GB, free: 15.33 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001875/1.54, allocations: 0.8628 MB / 1.013 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.541, allocations: 264.8 kB / 1.013 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/1.546, allocations: 2.111 MB / 1.015 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.546, allocations: 20 kB / 1.015 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.546, allocations: 3.938 kB / 1.015 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002837/1.549, allocations: 1.891 MB / 1.017 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.559, allocations: 5.19 MB / 1.022 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.559, allocations: 0 / 1.022 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/1.561, allocations: 0.4979 MB / 1.023 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.937e-05/1.561, allocations: 12.19 kB / 1.023 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.562, allocations: 51.98 kB / 1.023 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/1.564, allocations: 4.128 MB / 1.027 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.564, allocations: 6.812 kB / 1.027 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005631/1.57, allocations: 3.237 MB / 1.03 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.571, allocations: 0.5677 MB / 1.031 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006796/1.572, allocations: 47.98 kB / 1.031 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0028/1.575, allocations: 249.1 kB / 1.031 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/1.575, allocations: 117.2 kB / 1.031 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.575, allocations: 67.97 kB / 1.031 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002535/1.578, allocations: 1.334 MB / 1.032 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.578, allocations: 4 kB / 1.032 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006564/1.584, allocations: 1.718 MB / 1.034 GB, free: 8.68 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,vol4.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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/1.585, allocations: 355.9 kB / 1.034 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006699/1.592, allocations: 3.322 MB / 1.038 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.592, allocations: 4 kB / 1.038 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/1.594, allocations: 1.033 MB / 1.039 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01072/1.605, allocations: 1.597 MB / 1.04 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/1.619, allocations: 8.355 MB / 1.048 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/1.622, allocations: 2.19 MB / 1.051 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.623, allocations: 235.4 kB / 1.051 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of SimCode: time 2.435e-06/1.623, allocations: 0 / 1.051 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of Templates: time 0.4835/2.107, allocations: 140.7 MB / 1.188 GB, free: 398.5 MB / 0.8731 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)