Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001272/0.001272, allocations: 104.9 kB / 16.41 MB, free: 6.488 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.001226/0.001226, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7946/0.7946, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 65.14 kB / 0.5685 GB, free: 28.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1907, allocations: 77.93 MB / 0.6446 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7129/0.9037, allocations: 305.1 MB / 0.9425 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.04182/0.9456, allocations: 25.85 MB / 0.9678 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006111/0.9517, allocations: 127.2 kB / 0.9679 GB, free: 376 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006732/0.9585, allocations: 1.798 MB / 0.9696 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01878/0.9774, allocations: 5.961 MB / 0.9755 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008382/0.9858, allocations: 2.637 MB / 0.978 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01477/1.001, allocations: 8.912 MB / 0.9867 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005979/1.007, allocations: 3.615 MB / 0.9903 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/1.018, allocations: 4.138 MB / 0.9943 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007319/1.026, allocations: 2.957 MB / 0.9972 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001403/1.027, allocations: 360 kB / 0.9975 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/1.041, allocations: 4.61 MB / 1.002 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00366/1.045, allocations: 1.644 MB / 1.004 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004898/1.05, allocations: 2.131 MB / 1.006 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01573/1.066, allocations: 6.763 MB / 1.012 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.066, allocations: 0 / 1.012 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.773e-06/1.066, allocations: 0 / 1.012 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001911/1.066, allocations: 0 / 1.012 GB, free: 2.719 MB / 0.7637 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.008197/1.074, allocations: 4.291 MB / 1.017 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.074, allocations: 8.625 kB / 1.017 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005977/1.08, allocations: 0.9577 MB / 1.017 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005606/1.086, allocations: 2.414 MB / 1.02 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/1.086, allocations: 285.2 kB / 1.02 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005408/1.087, allocations: 288 kB / 1.02 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006264/1.093, allocations: 3.355 MB / 1.024 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/1.093, allocations: 15.88 kB / 1.024 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/1.093, allocations: 116 kB / 1.024 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/1.093, allocations: 109.3 kB / 1.024 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004516/1.098, allocations: 2.796 MB / 1.027 GB, free: 3.832 MB / 0.7794 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.0174/1.115, allocations: 13.29 MB / 1.04 GB, free: 5.363 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/1.118, allocations: 1.685 MB / 1.041 GB, free: 3.672 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/1.119, allocations: 1.106 MB / 1.042 GB, free: 2.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/1.12, allocations: 325.2 kB / 1.043 GB, free: 2.199 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/1.12, allocations: 56.56 kB / 1.043 GB, free: 2.133 MB / 0.795 GB Notification: Performance of pre-optimization done (n=182): time 3.116e-06/1.12, allocations: 4 kB / 1.043 GB, free: 2.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=182): time 0.00521/1.125, allocations: 2.748 MB / 1.045 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/1.125, allocations: 81.41 kB / 1.045 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/1.128, allocations: 1.994 MB / 1.047 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002209/1.128, allocations: 69.7 kB / 1.047 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.129, allocations: 1.425 MB / 1.049 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007485/1.13, allocations: 0.6738 MB / 1.05 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005646/1.131, allocations: 391.5 kB / 1.05 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.131, allocations: 301.1 kB / 1.05 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.132, allocations: 0.8207 MB / 1.051 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/1.134, allocations: 1.407 MB / 1.052 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/1.137, allocations: 2.256 MB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/1.137, allocations: 8 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004688/1.142, allocations: 2.515 MB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.142, allocations: 12 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.159e-05/1.142, allocations: 20.11 kB / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/1.142, allocations: 31.88 kB / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/1.144, allocations: 0.5383 MB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3482/1.493, allocations: 4.153 MB / 1.062 GB, free: 323.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/1.496, allocations: 217.9 kB / 1.062 GB, free: 323.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002962/1.496, allocations: 93.03 kB / 1.062 GB, free: 323.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002835/1.499, allocations: 1.462 MB / 1.063 GB, free: 323.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001529/1.501, allocations: 1.398 MB / 1.065 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003107/1.504, allocations: 2.237 MB / 1.067 GB, free: 322 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.087e-05/1.504, allocations: 7.938 kB / 1.067 GB, free: 322 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004748/1.508, allocations: 2.493 MB / 1.069 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/1.508, allocations: 11.31 kB / 1.069 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/1.508, allocations: 14.53 kB / 1.069 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.065e-05/1.509, allocations: 22.72 kB / 1.069 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/1.51, allocations: 473.4 kB / 1.07 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.473e-05/1.51, allocations: 34.42 kB / 1.07 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/1.513, allocations: 197.8 kB / 1.07 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/1.513, allocations: 85.72 kB / 1.07 GB, free: 321 MB / 0.8106 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.0005263/1.513, allocations: 309.8 kB / 1.07 GB, free: 320.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004637/1.514, allocations: 286.8 kB / 1.071 GB, free: 320.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/1.517, allocations: 2.103 MB / 1.073 GB, free: 319.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/1.517, allocations: 21.03 kB / 1.073 GB, free: 319.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.517, allocations: 0.5312 kB / 1.073 GB, free: 319.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003025/1.521, allocations: 1.887 MB / 1.075 GB, free: 319 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00863/1.529, allocations: 5.183 MB / 1.08 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.529, allocations: 7.25 kB / 1.08 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/1.532, allocations: 0.4915 MB / 1.08 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/1.532, allocations: 8.562 kB / 1.08 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/1.532, allocations: 53.02 kB / 1.08 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/1.533, allocations: 4.13 MB / 1.084 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.533, allocations: 2.75 kB / 1.084 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/1.538, allocations: 3.237 MB / 1.087 GB, free: 311.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.539, allocations: 0.5765 MB / 1.088 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/1.539, allocations: 45.12 kB / 1.088 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/1.541, allocations: 91.78 kB / 1.088 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/1.541, allocations: 105.6 kB / 1.088 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.541, allocations: 69.28 kB / 1.088 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002212/1.544, allocations: 1.337 MB / 1.09 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.544, allocations: 2.594 kB / 1.09 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004289/1.548, allocations: 1.733 MB / 1.091 GB, free: 310.1 MB / 0.8106 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.0007823/1.549, allocations: 360.5 kB / 1.092 GB, free: 310 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005349/1.554, allocations: 3.327 MB / 1.095 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.554, allocations: 0 / 1.095 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/1.556, allocations: 1.027 MB / 1.096 GB, free: 308.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00646/1.562, allocations: 1.533 MB / 1.097 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007783/1.57, allocations: 6.627 MB / 1.104 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/1.571, allocations: 2.194 MB / 1.106 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002865/1.574, allocations: 1.093 MB / 1.107 GB, free: 301.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/1.575, allocations: 215.4 kB / 1.107 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of SimCode: time 8.82e-07/1.575, allocations: 0 / 1.107 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.07063/1.645, allocations: 54.69 MB / 1.161 GB, free: 247.5 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)