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.799/4.799, allocations: 0.5623 GB / 0.5775 GB, free: 3.336 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.003559/0.003559, allocations: 354.7 kB / 0.6447 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 4.041/4.041, allocations: 410.7 MB / 1.113 GB, free: 147.9 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.001678/0.001678, allocations: 176.4 kB / 1.226 GB, free: 35.99 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004827, allocations: 15.98 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 115.3 MB / 1.461 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.127/1.325, allocations: 270.9 MB / 1.726 GB, free: 9.34 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.05206/1.377, allocations: 25.53 MB / 1.751 GB, free: 15.76 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/1.381, allocations: 95.31 kB / 1.751 GB, free: 15.67 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.007313/1.389, allocations: 1.537 MB / 1.752 GB, free: 14.12 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02442/1.413, allocations: 6.181 MB / 1.758 GB, free: 7.914 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01177/1.425, allocations: 2.673 MB / 1.761 GB, free: 5.273 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01871/1.444, allocations: 10.39 MB / 1.771 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006013/1.45, allocations: 2.537 MB / 1.774 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008839/1.459, allocations: 2.824 MB / 1.776 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007284/1.466, allocations: 2.822 MB / 1.779 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001279/1.467, allocations: 152 kB / 1.779 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008809/1.476, allocations: 1.843 MB / 1.781 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003402/1.48, allocations: 1.43 MB / 1.783 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00253/1.482, allocations: 0.7576 MB / 1.783 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/1.492, allocations: 4.536 MB / 1.788 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.492, allocations: 0 / 1.788 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.755e-06/1.492, allocations: 0 / 1.788 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002285/1.493, allocations: 0 / 1.788 GB, free: 9.867 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.0106/1.503, allocations: 3.409 MB / 1.791 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.503, allocations: 8.031 kB / 1.791 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008825/1.512, allocations: 0.94 MB / 1.792 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008293/1.52, allocations: 2.359 MB / 1.794 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004255/1.521, allocations: 281.3 kB / 1.795 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009041/1.522, allocations: 299.9 kB / 1.795 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/1.532, allocations: 3.343 MB / 1.798 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/1.533, allocations: 7.938 kB / 1.798 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000443/1.533, allocations: 119.9 kB / 1.798 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/1.533, allocations: 109.3 kB / 1.798 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009317/1.543, allocations: 2.788 MB / 1.801 GB, free: 11.96 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.02788/1.57, allocations: 13.24 MB / 1.814 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00507/1.576, allocations: 1.863 MB / 1.816 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003007/1.579, allocations: 1.121 MB / 1.817 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/1.579, allocations: 333.2 kB / 1.817 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.129e-05/1.58, allocations: 64.52 kB / 1.817 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=186): time 5.039e-06/1.58, allocations: 4 kB / 1.817 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=186): time 0.009327/1.589, allocations: 2.766 MB / 1.82 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/1.589, allocations: 73.41 kB / 1.82 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/1.594, allocations: 1.953 MB / 1.822 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005378/1.594, allocations: 73.7 kB / 1.822 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.596, allocations: 1.391 MB / 1.823 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001285/1.597, allocations: 0.6507 MB / 1.824 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.597, allocations: 44 kB / 1.824 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002762/1.598, allocations: 386 kB / 1.824 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/1.6, allocations: 0.8004 MB / 1.825 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003276/1.603, allocations: 1.459 MB / 1.827 GB, free: 132 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/1.607, allocations: 1.064 MB / 1.828 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/1.607, allocations: 0 / 1.828 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007953/1.615, allocations: 2.493 MB / 1.83 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004577/1.615, allocations: 479 kB / 1.831 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/1.615, allocations: 12 kB / 1.831 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.177e-05/1.615, allocations: 24 kB / 1.831 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005293/1.621, allocations: 0.5616 MB / 1.831 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/1.624, allocations: 4.161 MB / 1.835 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005663/1.629, allocations: 384.7 kB / 1.836 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004795/1.63, allocations: 87.97 kB / 1.836 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.63, allocations: 4 kB / 1.836 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00654/1.637, allocations: 2.225 MB / 1.838 GB, free: 4.301 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.245e-05/1.637, allocations: 12 kB / 1.838 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/1.637, allocations: 24.75 kB / 1.838 GB, free: 4.266 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003833/1.641, allocations: 487.3 kB / 1.838 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.836e-05/1.641, allocations: 31.88 kB / 1.838 GB, free: 3.758 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005571/1.646, allocations: 359.5 kB / 1.839 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004502/1.647, allocations: 87.98 kB / 1.839 GB, free: 3.328 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.002584/1.649, allocations: 0.8634 MB / 1.84 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009464/1.65, allocations: 272.8 kB / 1.84 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006142/1.656, allocations: 2.142 MB / 1.842 GB, free: 28 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005041/1.662, allocations: 1.913 MB / 1.844 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.662, allocations: 0 / 1.844 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002375/1.664, allocations: 0.5676 MB / 1.844 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007606/1.665, allocations: 36 kB / 1.844 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004548/1.669, allocations: 248.7 kB / 1.845 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/1.67, allocations: 105.8 kB / 1.845 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009429/1.679, allocations: 2.394 MB / 1.847 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009355/1.689, allocations: 3.458 MB / 1.85 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002453/1.691, allocations: 0.9291 MB / 1.851 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003167/1.694, allocations: 1.298 MB / 1.853 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of Backend: time 7.42e-07/1.694, allocations: 0 / 1.853 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01311/1.708, allocations: 3.399 MB / 1.856 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of SimCode: time 0.02516/1.733, allocations: 8.798 MB / 1.865 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of Templates: time 0.7879/2.521, allocations: 63.26 MB / 1.926 GB, free: 334.5 MB / 0.948 GB