Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.691/4.691, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002344/0.002343, allocations: 356.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.746/3.746, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001668/0.001668, allocations: 172 kB / 1.225 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005043, allocations: 13.59 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1557, allocations: 115.3 MB / 1.461 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.8776/1.033, allocations: 270.9 MB / 1.725 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.04439/1.078, allocations: 25.54 MB / 1.75 GB, free: 15.75 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00386/1.082, allocations: 99.31 kB / 1.75 GB, free: 15.65 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.005598/1.087, allocations: 1.533 MB / 1.752 GB, free: 14.11 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02104/1.108, allocations: 6.17 MB / 1.758 GB, free: 7.914 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/1.119, allocations: 2.678 MB / 1.76 GB, free: 5.27 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01551/1.134, allocations: 10.39 MB / 1.771 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004962/1.139, allocations: 2.55 MB / 1.773 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007199/1.146, allocations: 2.82 MB / 1.776 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005827/1.152, allocations: 2.822 MB / 1.779 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0007607/1.153, allocations: 152 kB / 1.779 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007178/1.16, allocations: 1.843 MB / 1.781 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004921/1.165, allocations: 1.43 MB / 1.782 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.003803/1.169, allocations: 0.7576 MB / 1.783 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01656/1.186, allocations: 4.536 MB / 1.787 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/1.186, allocations: 0 / 1.787 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.703e-06/1.186, allocations: 4 kB / 1.787 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001799/1.186, allocations: 0 / 1.787 GB, free: 9.852 MB / 0.8542 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.01644/1.202, allocations: 3.405 MB / 1.79 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.369e-05/1.203, allocations: 12.03 kB / 1.79 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/1.219, allocations: 0.9361 MB / 1.791 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/1.234, allocations: 2.355 MB / 1.794 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00073/1.235, allocations: 285.4 kB / 1.794 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/1.236, allocations: 295.9 kB / 1.794 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/1.249, allocations: 3.351 MB / 1.797 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.152e-05/1.249, allocations: 0 / 1.797 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003925/1.249, allocations: 123.9 kB / 1.798 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/1.249, allocations: 105.3 kB / 1.798 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007767/1.257, allocations: 2.788 MB / 1.8 GB, free: 11.95 MB / 0.8698 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.02288/1.28, allocations: 13.24 MB / 1.813 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/1.284, allocations: 1.875 MB / 1.815 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002404/1.287, allocations: 1.118 MB / 1.816 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006189/1.287, allocations: 333.2 kB / 1.817 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.769e-05/1.288, allocations: 60.52 kB / 1.817 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=186): time 5.508e-06/1.288, allocations: 0 / 1.817 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=186): time 0.007104/1.295, allocations: 2.77 MB / 1.819 GB, free: 7.289 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/1.295, allocations: 73.39 kB / 1.819 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/1.298, allocations: 1.949 MB / 1.821 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/1.299, allocations: 73.7 kB / 1.821 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.3, allocations: 1.395 MB / 1.823 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/1.301, allocations: 0.6546 MB / 1.823 GB, free: 3.082 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/1.302, allocations: 48 kB / 1.823 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002679/1.302, allocations: 386 kB / 1.824 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/1.304, allocations: 0.7965 MB / 1.825 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/1.306, allocations: 1.462 MB / 1.826 GB, free: 112 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/1.309, allocations: 1.06 MB / 1.827 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.309, allocations: 4 kB / 1.827 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005803/1.315, allocations: 2.494 MB / 1.829 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004244/1.315, allocations: 478.3 kB / 1.83 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/1.315, allocations: 12 kB / 1.83 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.545e-05/1.315, allocations: 24 kB / 1.83 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/1.319, allocations: 0.5617 MB / 1.831 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/1.322, allocations: 4.153 MB / 1.835 GB, free: 6.984 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003839/1.326, allocations: 382.8 kB / 1.835 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/1.326, allocations: 87.98 kB / 1.835 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.326, allocations: 4 kB / 1.835 GB, free: 6.523 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004981/1.331, allocations: 2.23 MB / 1.837 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/1.331, allocations: 15.98 kB / 1.837 GB, free: 4.277 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/1.331, allocations: 24 kB / 1.837 GB, free: 4.254 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/1.334, allocations: 483.2 kB / 1.838 GB, free: 3.781 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.793e-05/1.334, allocations: 31.92 kB / 1.838 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/1.337, allocations: 357.8 kB / 1.838 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/1.338, allocations: 87.98 kB / 1.838 GB, free: 3.316 MB / 0.9011 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.002068/1.34, allocations: 0.8634 MB / 1.839 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006639/1.34, allocations: 264.8 kB / 1.839 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004754/1.345, allocations: 2.138 MB / 1.841 GB, free: 28 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/1.345, allocations: 20 kB / 1.841 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.958e-06/1.345, allocations: 0 / 1.841 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00384/1.349, allocations: 1.917 MB / 1.843 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/1.361, allocations: 5.196 MB / 1.848 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.361, allocations: 4 kB / 1.848 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/1.364, allocations: 0.5153 MB / 1.849 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-05/1.364, allocations: 8 kB / 1.849 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/1.365, allocations: 59.94 kB / 1.849 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/1.368, allocations: 4.126 MB / 1.853 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.884e-06/1.368, allocations: 4.094 kB / 1.853 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007204/1.375, allocations: 3.418 MB / 1.856 GB, free: 404 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.377, allocations: 0.5755 MB / 1.857 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004281/1.377, allocations: 43.98 kB / 1.857 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002765/1.38, allocations: 241.2 kB / 1.857 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/1.38, allocations: 125.9 kB / 1.857 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/1.381, allocations: 75.89 kB / 1.857 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002594/1.383, allocations: 1.302 MB / 1.859 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.01e-07/1.383, allocations: 0 / 1.859 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005138/1.388, allocations: 1.722 MB / 1.86 GB, free: 12.28 MB / 0.9323 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.0009458/1.389, allocations: 373.2 kB / 1.861 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008311/1.398, allocations: 3.342 MB / 1.864 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.99e-06/1.398, allocations: 4 kB / 1.864 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/1.4, allocations: 1.047 MB / 1.865 GB, free: 7.547 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009456/1.41, allocations: 1.611 MB / 1.866 GB, free: 5.945 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.425, allocations: 7.864 MB / 1.874 GB, free: 14.01 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/1.428, allocations: 2.248 MB / 1.876 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00559/1.433, allocations: 1.107 MB / 1.877 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008987/1.434, allocations: 227.4 kB / 1.878 GB, free: 10.39 MB / 0.948 GB Notification: Performance of SimCode: time 1.947e-06/1.434, allocations: 7.938 kB / 1.878 GB, free: 10.39 MB / 0.948 GB Notification: Performance of Templates: time 0.6442/2.078, allocations: 52.26 MB / 1.929 GB, free: 331 MB / 0.948 GB