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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.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.0008386/0.0008386, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006163/0.006163, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.041/1.041, allocations: 143.4 MB / 434.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004039, allocations: 8 kB / 0.5166 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2205, allocations: 83.41 MB / 0.5981 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.042/1.263, allocations: 299 MB / 0.8901 GB, free: 1.832 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03235/1.295, allocations: 25.76 MB / 0.9153 GB, free: 1.488 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005567/1.301, allocations: 111.9 kB / 0.9154 GB, free: 1.484 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005718/1.306, allocations: 1.539 MB / 0.9169 GB, free: 1.457 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01636/1.323, allocations: 5.634 MB / 0.9224 GB, free: 1.168 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006782/1.33, allocations: 2.374 MB / 0.9247 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01566/1.345, allocations: 12.42 MB / 0.9368 GB, free: 1.09 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005558/1.351, allocations: 2.984 MB / 0.9397 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01209/1.363, allocations: 3.544 MB / 0.9432 GB, free: 16.47 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006738/1.37, allocations: 2.946 MB / 0.9461 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007938/1.371, allocations: 150.8 kB / 0.9462 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/1.382, allocations: 5.273 MB / 0.9514 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002125/1.384, allocations: 1.421 MB / 0.9527 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003849/1.388, allocations: 1.886 MB / 0.9546 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/1.399, allocations: 7.001 MB / 0.9614 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.399, allocations: 0 / 0.9614 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.615e-06/1.399, allocations: 0 / 0.9614 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000129/1.399, allocations: 0 / 0.9614 GB, free: 10.84 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.006184/1.405, allocations: 3.44 MB / 0.9648 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.405, allocations: 9.5 kB / 0.9648 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005846/1.411, allocations: 0.9383 MB / 0.9657 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004542/1.416, allocations: 2.27 MB / 0.9679 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/1.416, allocations: 273.7 kB / 0.9682 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/1.417, allocations: 293.2 kB / 0.9685 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005769/1.422, allocations: 3.362 MB / 0.9717 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-05/1.423, allocations: 4.25 kB / 0.9718 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/1.423, allocations: 118.2 kB / 0.9719 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/1.423, allocations: 113 kB / 0.972 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004603/1.427, allocations: 2.801 MB / 0.9747 GB, free: 4.566 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.01597/1.443, allocations: 13.26 MB / 0.9877 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/1.446, allocations: 1.688 MB / 0.9893 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/1.448, allocations: 1.114 MB / 0.9904 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/1.448, allocations: 324.1 kB / 0.9907 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/1.448, allocations: 61.7 kB / 0.9908 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 3.737e-06/1.448, allocations: 7.938 kB / 0.9908 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.005005/1.453, allocations: 2.739 MB / 0.9934 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/1.453, allocations: 69.41 kB / 0.9935 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/1.456, allocations: 1.994 MB / 0.9955 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002189/1.456, allocations: 73.69 kB / 0.9955 GB, free: 428 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.457, allocations: 1.418 MB / 0.9969 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006357/1.458, allocations: 0.632 MB / 0.9975 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/1.458, allocations: 177.5 kB / 0.9977 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/1.458, allocations: 301.1 kB / 0.998 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/1.46, allocations: 0.8104 MB / 0.9988 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/1.461, allocations: 1.408 MB / 1 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/1.464, allocations: 2.265 MB / 1.002 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/1.464, allocations: 4 kB / 1.002 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004183/1.469, allocations: 2.5 MB / 1.005 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003482/1.469, allocations: 495 kB / 1.005 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/1.469, allocations: 12 kB / 1.005 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/1.469, allocations: 28 kB / 1.005 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/1.472, allocations: 0.5533 MB / 1.006 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/1.474, allocations: 4.162 MB / 1.01 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/1.477, allocations: 397.7 kB / 1.01 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/1.478, allocations: 90.7 kB / 1.01 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/1.478, allocations: 4 kB / 1.01 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003523/1.481, allocations: 2.228 MB / 1.013 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.481, allocations: 12 kB / 1.013 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.481, allocations: 28 kB / 1.013 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/1.483, allocations: 480.8 kB / 1.013 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-05/1.483, allocations: 34.75 kB / 1.013 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/1.487, allocations: 374.5 kB / 1.013 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/1.487, allocations: 83.98 kB / 1.014 GB, free: 13.53 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.001692/1.488, allocations: 0.859 MB / 1.014 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/1.489, allocations: 268.8 kB / 1.015 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/1.493, allocations: 2.11 MB / 1.017 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.493, allocations: 27.94 kB / 1.017 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.493, allocations: 0 / 1.017 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00261/1.495, allocations: 1.9 MB / 1.019 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00844/1.504, allocations: 5.177 MB / 1.024 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.504, allocations: 4.094 kB / 1.024 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/1.506, allocations: 0.4944 MB / 1.024 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-05/1.506, allocations: 8 kB / 1.024 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.506, allocations: 51.98 kB / 1.024 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/1.509, allocations: 4.133 MB / 1.028 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/1.509, allocations: 4 kB / 1.028 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/1.514, allocations: 3.239 MB / 1.031 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.515, allocations: 0.5638 MB / 1.032 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.515, allocations: 43.98 kB / 1.032 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/1.518, allocations: 253.4 kB / 1.032 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/1.518, allocations: 116.6 kB / 1.032 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.518, allocations: 71.95 kB / 1.032 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001806/1.52, allocations: 1.33 MB / 1.034 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.52, allocations: 0 / 1.034 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003913/1.524, allocations: 1.718 MB / 1.035 GB, free: 6.887 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.0007675/1.525, allocations: 360.3 kB / 1.036 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006122/1.531, allocations: 3.326 MB / 1.039 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.531, allocations: 1.75 kB / 1.039 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/1.533, allocations: 1.031 MB / 1.04 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/1.543, allocations: 1.602 MB / 1.042 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.556, allocations: 8.153 MB / 1.049 GB, free: 8.594 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/1.558, allocations: 2.197 MB / 1.052 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004679/1.563, allocations: 1.095 MB / 1.053 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/1.563, allocations: 219.4 kB / 1.053 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of SimCode: time 1.152e-06/1.563, allocations: 0 / 1.053 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of Templates: time 0.0928/1.656, allocations: 52.77 MB / 1.104 GB, free: 1.168 MB / 0.8106 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)