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.001428/0.001428, allocations: 187.3 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6967/0.6967, allocations: 82.93 MB / 99.42 MB, free: 3.312 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 325.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 98.66 kB / 393.6 MB, free: 72 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004499, allocations: 15.98 kB / 471.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.08944, allocations: 67.44 MB / 0.5263 GB, free: 15.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6706/0.7601, allocations: 247.2 MB / 0.7677 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.04363/0.8037, allocations: 23.71 MB / 0.7909 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003914/0.8077, allocations: 91.31 kB / 0.791 GB, free: 496 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.006278/0.814, allocations: 1.719 MB / 0.7927 GB, free: 14.76 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.02017/0.8342, allocations: 5.754 MB / 0.7983 GB, free: 8.992 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.8445, allocations: 2.702 MB / 0.8009 GB, free: 6.309 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01045/0.855, allocations: 5.085 MB / 0.8059 GB, free: 1.215 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.469/1.324, allocations: 2.564 MB / 0.8084 GB, free: 10.04 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/1.335, allocations: 2.608 MB / 0.8109 GB, free: 10.04 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004699/1.34, allocations: 1.906 MB / 0.8128 GB, free: 10.02 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/1.341, allocations: 151.4 kB / 0.8129 GB, free: 10.02 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00824/1.349, allocations: 2.085 MB / 0.815 GB, free: 10.02 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002896/1.352, allocations: 1.313 MB / 0.8163 GB, free: 10.02 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002314/1.355, allocations: 0.7609 MB / 0.817 GB, free: 9.988 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008737/1.364, allocations: 4.503 MB / 0.8214 GB, free: 9.645 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.554e-06/1.364, allocations: 0 / 0.8214 GB, free: 9.645 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.851e-06/1.364, allocations: 1.031 kB / 0.8214 GB, free: 9.645 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001563/1.364, allocations: 0 / 0.8214 GB, free: 9.645 MB / 0.573 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.008444/1.372, allocations: 3.403 MB / 0.8247 GB, free: 23.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.372, allocations: 12.73 kB / 0.8247 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007754/1.38, allocations: 0.9367 MB / 0.8256 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006383/1.386, allocations: 2.203 MB / 0.8278 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/1.387, allocations: 280.7 kB / 0.8281 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009033/1.388, allocations: 300.5 kB / 0.8284 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008651/1.396, allocations: 3.319 MB / 0.8316 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.433e-05/1.397, allocations: 4.719 kB / 0.8316 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003971/1.397, allocations: 112.3 kB / 0.8317 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/1.397, allocations: 108.1 kB / 0.8318 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007411/1.405, allocations: 2.795 MB / 0.8345 GB, free: 22.82 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.02362/1.428, allocations: 13.24 MB / 0.8475 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/1.432, allocations: 1.863 MB / 0.8493 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/1.432, allocations: 60.83 kB / 0.8493 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/1.432, allocations: 57.28 kB / 0.8494 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=186): time 5.675e-06/1.432, allocations: 0 / 0.8494 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=186): time 0.007188/1.44, allocations: 2.776 MB / 0.8521 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/1.44, allocations: 71.47 kB / 0.8522 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/1.443, allocations: 1.954 MB / 0.8541 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004842/1.444, allocations: 70.55 kB / 0.8542 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.445, allocations: 1.395 MB / 0.8555 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008761/1.446, allocations: 0.6549 MB / 0.8562 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.446, allocations: 39.62 kB / 0.8562 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002464/1.446, allocations: 388 kB / 0.8566 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.448, allocations: 0.7971 MB / 0.8573 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/1.451, allocations: 1.467 MB / 0.8588 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/1.453, allocations: 1.051 MB / 0.8598 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/1.453, allocations: 3.312 kB / 0.8598 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005747/1.459, allocations: 2.497 MB / 0.8622 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.002611/1.461, allocations: 5.23 MB / 0.8674 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.622e-05/1.461, allocations: 13.44 kB / 0.8674 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-05/1.462, allocations: 31.72 kB / 0.8674 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/1.465, allocations: 0.5596 MB / 0.8679 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/1.468, allocations: 4.163 MB / 0.872 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/1.473, allocations: 375.8 kB / 0.8724 GB, free: 18.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003945/1.473, allocations: 90.95 kB / 0.8725 GB, free: 18.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.473, allocations: 9.719 kB / 0.8725 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004858/1.478, allocations: 2.221 MB / 0.8746 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/1.478, allocations: 11.91 kB / 0.8746 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/1.478, allocations: 27.41 kB / 0.8747 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.48, allocations: 480.8 kB / 0.8751 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.55e-05/1.481, allocations: 36.09 kB / 0.8752 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/1.485, allocations: 352.1 kB / 0.8755 GB, free: 18.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/1.485, allocations: 90.75 kB / 0.8756 GB, free: 18.59 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.002227/1.487, allocations: 0.8653 MB / 0.8764 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007862/1.488, allocations: 267.5 kB / 0.8767 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/1.494, allocations: 2.136 MB / 0.8788 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/1.494, allocations: 17.03 kB / 0.8788 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.494, allocations: 0 / 0.8788 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006571/1.5, allocations: 1.909 MB / 0.8806 GB, free: 17.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/1.515, allocations: 5.211 MB / 0.8857 GB, free: 16.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.515, allocations: 9.469 kB / 0.8857 GB, free: 16.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003335/1.518, allocations: 0.5053 MB / 0.8862 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-05/1.518, allocations: 9.938 kB / 0.8862 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002782/1.519, allocations: 56.89 kB / 0.8863 GB, free: 16.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/1.522, allocations: 4.131 MB / 0.8903 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.522, allocations: 3.094 kB / 0.8903 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00696/1.529, allocations: 3.638 MB / 0.8939 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/1.531, allocations: 0.5761 MB / 0.8945 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007734/1.531, allocations: 49.02 kB / 0.8945 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/1.535, allocations: 251 kB / 0.8947 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003916/1.536, allocations: 110.8 kB / 0.8948 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.536, allocations: 75.86 kB / 0.8949 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002687/1.539, allocations: 1.303 MB / 0.8962 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.042e-06/1.539, allocations: 4 kB / 0.8962 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006435/1.545, allocations: 1.721 MB / 0.8979 GB, free: 9.215 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.001099/1.546, allocations: 388.2 kB / 0.8982 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008464/1.555, allocations: 3.33 MB / 0.9015 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.555, allocations: 4 kB / 0.9015 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/1.557, allocations: 1.046 MB / 0.9025 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009276/1.567, allocations: 1.582 MB / 0.9041 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/1.582, allocations: 7.832 MB / 0.9117 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/1.585, allocations: 2.25 MB / 0.9139 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.006404/1.591, allocations: 1.111 MB / 0.915 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.592, allocations: 227.1 kB / 0.9152 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of SimCode: time 2.703e-06/1.592, allocations: 0 / 0.9152 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of Templates: time 0.1289/1.721, allocations: 52.2 MB / 0.9662 GB, free: 6.332 MB / 0.6667 GB