Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003781/0.003786, allocations: 354.8 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.446/1.446, allocations: 165.8 MB / 182.5 MB, free: 5.906 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.044/4.044, allocations: 410.7 MB / 0.5995 GB, free: 37.11 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001801/0.0018, allocations: 189.6 kB / 0.6662 GB, free: 1.816 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005135, allocations: 14.69 kB / 0.7423 GB, free: 73.89 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1005, allocations: 67.46 MB / 0.8081 GB, free: 17.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7414/0.842, allocations: 270.8 MB / 1.073 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.06248/0.9045, allocations: 25.54 MB / 1.098 GB, free: 14.4 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004846/0.9094, allocations: 95.31 kB / 1.098 GB, free: 14.31 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.005977/0.9154, allocations: 1.541 MB / 1.099 GB, free: 12.76 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.02144/0.9369, allocations: 6.167 MB / 1.105 GB, free: 6.562 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.9471, allocations: 2.679 MB / 1.108 GB, free: 3.918 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01586/0.963, allocations: 10.39 MB / 1.118 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00523/0.9683, allocations: 2.545 MB / 1.12 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007556/0.9759, allocations: 2.828 MB / 1.123 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005896/0.9818, allocations: 2.822 MB / 1.126 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0008185/0.9826, allocations: 152 kB / 1.126 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5025/1.485, allocations: 1.837 MB / 1.128 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.00264/1.488, allocations: 1.426 MB / 1.129 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/1.49, allocations: 0.7569 MB / 1.13 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.009118/1.499, allocations: 4.544 MB / 1.134 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.556e-06/1.499, allocations: 0 / 1.134 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.761e-06/1.499, allocations: 0 / 1.134 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001704/1.5, allocations: 2.516 kB / 1.134 GB, free: 15.05 MB / 0.5886 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.008808/1.508, allocations: 3.402 MB / 1.138 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.509, allocations: 15.5 kB / 1.138 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008104/1.517, allocations: 0.9414 MB / 1.139 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007044/1.524, allocations: 2.352 MB / 1.141 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/1.524, allocations: 276.4 kB / 1.141 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009594/1.525, allocations: 299.5 kB / 1.142 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009232/1.534, allocations: 3.352 MB / 1.145 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-05/1.535, allocations: 3.781 kB / 1.145 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004076/1.535, allocations: 120.1 kB / 1.145 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/1.535, allocations: 114.5 kB / 1.145 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007744/1.543, allocations: 2.78 MB / 1.148 GB, free: 12.23 MB / 0.5886 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.0229/1.566, allocations: 13.25 MB / 1.161 GB, free: 20.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/1.57, allocations: 1.862 MB / 1.163 GB, free: 20.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/1.572, allocations: 1.118 MB / 1.164 GB, free: 20.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006198/1.573, allocations: 327.6 kB / 1.164 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/1.573, allocations: 66.22 kB / 1.164 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=186): time 5.647e-06/1.573, allocations: 3.375 kB / 1.164 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=186): time 0.007364/1.58, allocations: 2.767 MB / 1.167 GB, free: 20.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/1.58, allocations: 72.16 kB / 1.167 GB, free: 20.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/1.584, allocations: 1.957 MB / 1.169 GB, free: 20.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004904/1.584, allocations: 71.11 kB / 1.169 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.585, allocations: 1.393 MB / 1.17 GB, free: 19.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008737/1.586, allocations: 0.6574 MB / 1.171 GB, free: 19.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.587, allocations: 41.88 kB / 1.171 GB, free: 19.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002423/1.587, allocations: 385.4 kB / 1.171 GB, free: 18.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/1.589, allocations: 0.7955 MB / 1.172 GB, free: 18.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/1.591, allocations: 1.461 MB / 1.173 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/1.593, allocations: 1.061 MB / 1.174 GB, free: 17.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/1.593, allocations: 3.344 kB / 1.174 GB, free: 17.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006041/1.599, allocations: 2.497 MB / 1.177 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002774/1.6, allocations: 471 kB / 1.177 GB, free: 17.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/1.6, allocations: 12.81 kB / 1.177 GB, free: 17.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.956e-05/1.6, allocations: 28.41 kB / 1.177 GB, free: 17.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/1.603, allocations: 0.5687 MB / 1.178 GB, free: 17.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/1.607, allocations: 4.152 MB / 1.182 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/1.611, allocations: 380.8 kB / 1.182 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004328/1.611, allocations: 85.03 kB / 1.182 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.611, allocations: 3.953 kB / 1.182 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005165/1.617, allocations: 2.228 MB / 1.185 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/1.617, allocations: 12.78 kB / 1.185 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/1.617, allocations: 24.53 kB / 1.185 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/1.619, allocations: 478.7 kB / 1.185 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.761e-05/1.619, allocations: 34.48 kB / 1.185 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004553/1.624, allocations: 358.8 kB / 1.185 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004554/1.624, allocations: 86.39 kB / 1.186 GB, free: 12.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002274/1.627, allocations: 0.8578 MB / 1.186 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007796/1.628, allocations: 278.3 kB / 1.187 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/1.632, allocations: 2.137 MB / 1.189 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/1.632, allocations: 27.47 kB / 1.189 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.632, allocations: 0 / 1.189 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004528/1.637, allocations: 1.914 MB / 1.191 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/1.649, allocations: 5.199 MB / 1.196 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.649, allocations: 3.438 kB / 1.196 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003654/1.653, allocations: 0.5186 MB / 1.196 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-05/1.653, allocations: 10.69 kB / 1.196 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/1.653, allocations: 54.14 kB / 1.196 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/1.656, allocations: 4.131 MB / 1.2 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.656, allocations: 2.688 kB / 1.2 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006945/1.663, allocations: 3.416 MB / 1.204 GB, free: 6.863 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002164/1.665, allocations: 0.573 MB / 1.204 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000784/1.666, allocations: 44.19 kB / 1.204 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003759/1.67, allocations: 249.9 kB / 1.204 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/1.67, allocations: 123 kB / 1.205 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/1.67, allocations: 71.14 kB / 1.205 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002708/1.673, allocations: 1.299 MB / 1.206 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.11e-07/1.673, allocations: 0 / 1.206 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006168/1.679, allocations: 1.72 MB / 1.208 GB, free: 6.172 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/1.68, allocations: 376.7 kB / 1.208 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008045/1.688, allocations: 3.335 MB / 1.211 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.688, allocations: 4.969 kB / 1.211 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002408/1.691, allocations: 1.054 MB / 1.212 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/1.701, allocations: 1.61 MB / 1.214 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.715, allocations: 7.868 MB / 1.222 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/1.718, allocations: 2.25 MB / 1.224 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.005778/1.724, allocations: 1.112 MB / 1.225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.725, allocations: 230 kB / 1.225 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.88e-06/1.725, allocations: 0 / 1.225 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.19/1.915, allocations: 52.26 MB / 1.276 GB, free: 10.99 MB / 0.6667 GB