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.002593/0.002593, allocations: 358 kB / 16.59 MB, free: 5.562 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.488/1.488, allocations: 165.8 MB / 183.1 MB, free: 5.438 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.859/3.859, allocations: 410.8 MB / 0.6001 GB, free: 15.1 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001766/0.001765, allocations: 191.6 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006328/0.0006331, allocations: 12 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4286, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.8648/1.293, allocations: 270.8 MB / 1.073 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.06572/1.359, allocations: 25.54 MB / 1.098 GB, free: 364 kB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00555/1.365, allocations: 91.38 kB / 1.098 GB, free: 272 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00958/1.374, allocations: 1.545 MB / 1.1 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0276/1.402, allocations: 6.176 MB / 1.106 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0119/1.414, allocations: 2.679 MB / 1.108 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01883/1.433, allocations: 10.39 MB / 1.119 GB, free: 11.44 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006487/1.439, allocations: 2.533 MB / 1.121 GB, free: 8.859 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00907/1.449, allocations: 2.832 MB / 1.124 GB, free: 6.016 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007316/1.456, allocations: 2.822 MB / 1.127 GB, free: 3.184 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001164/1.457, allocations: 152 kB / 1.127 GB, free: 3.035 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008788/1.466, allocations: 1.846 MB / 1.129 GB, free: 1.184 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003305/1.469, allocations: 1.422 MB / 1.13 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.002287/1.472, allocations: 0.7576 MB / 1.131 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/1.482, allocations: 4.543 MB / 1.135 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.482, allocations: 3.938 kB / 1.135 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.645e-06/1.482, allocations: 0 / 1.135 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001949/1.482, allocations: 0 / 1.135 GB, free: 10.43 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.01047/1.493, allocations: 3.401 MB / 1.138 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/1.493, allocations: 12.02 kB / 1.138 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008897/1.502, allocations: 0.94 MB / 1.139 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008298/1.51, allocations: 2.367 MB / 1.142 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/1.51, allocations: 285.3 kB / 1.142 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/1.511, allocations: 295.9 kB / 1.142 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/1.522, allocations: 3.348 MB / 1.145 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/1.522, allocations: 3.984 kB / 1.145 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/1.523, allocations: 116 kB / 1.146 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/1.523, allocations: 105.3 kB / 1.146 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009248/1.532, allocations: 2.785 MB / 1.148 GB, free: 12.53 MB / 0.6042 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.4202/1.952, allocations: 13.24 MB / 1.161 GB, free: 249.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007953/1.96, allocations: 1.86 MB / 1.163 GB, free: 249.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004957/1.965, allocations: 1.117 MB / 1.164 GB, free: 249.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.967, allocations: 330.5 kB / 1.165 GB, free: 249 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.341e-05/1.967, allocations: 59.23 kB / 1.165 GB, free: 248.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=186): time 8.797e-06/1.967, allocations: 0 / 1.165 GB, free: 248.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=186): time 0.01506/1.982, allocations: 2.768 MB / 1.167 GB, free: 248 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/1.982, allocations: 74.44 kB / 1.167 GB, free: 247.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008205/1.99, allocations: 1.96 MB / 1.169 GB, free: 247.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006824/1.991, allocations: 69.86 kB / 1.169 GB, free: 247.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.993, allocations: 1.393 MB / 1.171 GB, free: 246.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/1.994, allocations: 0.662 MB / 1.171 GB, free: 245.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/1.995, allocations: 39.94 kB / 1.171 GB, free: 245.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.995, allocations: 387 kB / 1.172 GB, free: 245.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/1.998, allocations: 0.8007 MB / 1.173 GB, free: 245.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004361/2.003, allocations: 1.462 MB / 1.174 GB, free: 244 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004197/2.007, allocations: 1.061 MB / 1.175 GB, free: 243.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/2.007, allocations: 3.906 kB / 1.175 GB, free: 243.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.0111/2.018, allocations: 2.495 MB / 1.177 GB, free: 242.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005974/2.019, allocations: 478.6 kB / 1.178 GB, free: 242 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-05/2.019, allocations: 11.66 kB / 1.178 GB, free: 242 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.967e-05/2.019, allocations: 23.28 kB / 1.178 GB, free: 242 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005196/2.024, allocations: 0.5617 MB / 1.178 GB, free: 242 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/2.026, allocations: 4.154 MB / 1.183 GB, free: 237.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005646/2.032, allocations: 387.5 kB / 1.183 GB, free: 237.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000443/2.033, allocations: 89.5 kB / 1.183 GB, free: 237.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/2.033, allocations: 3.906 kB / 1.183 GB, free: 237.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005713/2.038, allocations: 2.225 MB / 1.185 GB, free: 236.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/2.038, allocations: 15.83 kB / 1.185 GB, free: 236.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/2.038, allocations: 24.88 kB / 1.185 GB, free: 236.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/2.042, allocations: 481 kB / 1.186 GB, free: 236.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-05/2.042, allocations: 28.95 kB / 1.186 GB, free: 236.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005458/2.048, allocations: 362.5 kB / 1.186 GB, free: 236.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004442/2.048, allocations: 87.7 kB / 1.186 GB, free: 236.4 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.002374/2.051, allocations: 0.8593 MB / 1.187 GB, free: 235.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009109/2.052, allocations: 273.9 kB / 1.187 GB, free: 235.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005568/2.057, allocations: 2.135 MB / 1.189 GB, free: 234.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004381/2.062, allocations: 1.904 MB / 1.191 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/2.062, allocations: 0 / 1.191 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/2.064, allocations: 0.5676 MB / 1.192 GB, free: 231.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007616/2.065, allocations: 47.98 kB / 1.192 GB, free: 231.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004404/2.069, allocations: 246.7 kB / 1.192 GB, free: 231.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004218/2.069, allocations: 113.8 kB / 1.192 GB, free: 231.5 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008388/2.078, allocations: 2.389 MB / 1.194 GB, free: 229.1 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007673/2.086, allocations: 3.467 MB / 1.198 GB, free: 225.6 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002099/2.088, allocations: 0.9207 MB / 1.199 GB, free: 224.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002639/2.09, allocations: 1.302 MB / 1.2 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of Backend: time 1.152e-06/2.09, allocations: 0 / 1.2 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01206/2.102, allocations: 3.408 MB / 1.203 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of SimCode: time 0.02144/2.124, allocations: 8.801 MB / 1.212 GB, free: 211.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.156/2.28, allocations: 63.26 MB / 1.274 GB, free: 148.8 MB / 0.6042 GB