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 2.702/2.702, allocations: 287.9 MB / 302.9 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002233/0.002233, allocations: 183 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 101 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004643, allocations: 12.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1554, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.8617/1.017, allocations: 247.2 MB / 1.22 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.04427/1.062, allocations: 23.71 MB / 1.243 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004474/1.066, allocations: 91.31 kB / 1.243 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.006553/1.073, allocations: 1.719 MB / 1.245 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0214/1.094, allocations: 5.755 MB / 1.251 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01094/1.105, allocations: 2.688 MB / 1.253 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01104/1.116, allocations: 5.1 MB / 1.258 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005742/1.122, allocations: 2.569 MB / 1.261 GB, free: 8.188 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007635/1.13, allocations: 2.601 MB / 1.263 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004506/1.134, allocations: 1.896 MB / 1.265 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.00118/1.135, allocations: 152 kB / 1.265 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008044/1.143, allocations: 2.098 MB / 1.267 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002659/1.146, allocations: 1.305 MB / 1.269 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00207/1.148, allocations: 0.7615 MB / 1.269 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.009245/1.158, allocations: 4.497 MB / 1.274 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.941e-06/1.158, allocations: 0 / 1.274 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.62e-06/1.158, allocations: 0 / 1.274 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001312/1.158, allocations: 0 / 1.274 GB, free: 10.84 MB / 0.8073 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.008187/1.166, allocations: 3.403 MB / 1.277 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.166, allocations: 8.031 kB / 1.277 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00761/1.174, allocations: 0.9439 MB / 1.278 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006785/1.18, allocations: 2.207 MB / 1.28 GB, free: 4.133 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/1.181, allocations: 281.4 kB / 1.28 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008479/1.182, allocations: 295.9 kB / 1.281 GB, free: 3.555 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009138/1.191, allocations: 3.324 MB / 1.284 GB, free: 148 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.979e-05/1.191, allocations: 3.938 kB / 1.284 GB, free: 144 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/1.191, allocations: 119.9 kB / 1.284 GB, free: 24 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/1.192, allocations: 109.3 kB / 1.284 GB, free: 15.91 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007888/1.2, allocations: 2.788 MB / 1.287 GB, free: 13.11 MB / 0.823 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.0242/1.224, allocations: 13.24 MB / 1.3 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/1.228, allocations: 1.863 MB / 1.302 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/1.228, allocations: 65.92 kB / 1.302 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/1.228, allocations: 60.52 kB / 1.302 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=186): time 5.965e-06/1.228, allocations: 0 / 1.302 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=186): time 0.007551/1.236, allocations: 2.77 MB / 1.305 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/1.236, allocations: 73.41 kB / 1.305 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/1.24, allocations: 1.957 MB / 1.307 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004027/1.24, allocations: 69.7 kB / 1.307 GB, free: 7.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001513/1.242, allocations: 1.395 MB / 1.308 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.243, allocations: 0.6468 MB / 1.309 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/1.243, allocations: 48 kB / 1.309 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000268/1.244, allocations: 382 kB / 1.309 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/1.246, allocations: 0.7965 MB / 1.31 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/1.249, allocations: 1.455 MB / 1.311 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/1.251, allocations: 1.06 MB / 1.312 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.887e-05/1.251, allocations: 8 kB / 1.312 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006477/1.258, allocations: 2.486 MB / 1.315 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002837/1.261, allocations: 5.24 MB / 1.32 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.795e-05/1.261, allocations: 16 kB / 1.32 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.352e-05/1.261, allocations: 24 kB / 1.32 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/1.264, allocations: 0.5615 MB / 1.32 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/1.268, allocations: 4.157 MB / 1.324 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/1.272, allocations: 383.9 kB / 1.325 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000424/1.272, allocations: 91.98 kB / 1.325 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.272, allocations: 7.938 kB / 1.325 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00558/1.278, allocations: 2.229 MB / 1.327 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/1.278, allocations: 12 kB / 1.327 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.981e-05/1.278, allocations: 27.98 kB / 1.327 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/1.281, allocations: 480 kB / 1.328 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-05/1.281, allocations: 39.81 kB / 1.328 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003905/1.285, allocations: 355 kB / 1.328 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004367/1.285, allocations: 87.98 kB / 1.328 GB, free: 0.8438 MB / 0.8542 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.002373/1.287, allocations: 0.8557 MB / 1.329 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007896/1.288, allocations: 272.8 kB / 1.329 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/1.293, allocations: 2.134 MB / 1.331 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.294, allocations: 19.98 kB / 1.331 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.294, allocations: 3.953 kB / 1.331 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004205/1.298, allocations: 1.906 MB / 1.333 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/1.311, allocations: 5.204 MB / 1.338 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.311, allocations: 4 kB / 1.338 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.314, allocations: 0.5113 MB / 1.339 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-05/1.314, allocations: 12 kB / 1.339 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002572/1.315, allocations: 51.98 kB / 1.339 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/1.318, allocations: 4.13 MB / 1.343 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.811e-06/1.318, allocations: 4 kB / 1.343 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007761/1.325, allocations: 3.633 MB / 1.346 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.327, allocations: 0.5832 MB / 1.347 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005752/1.328, allocations: 47.98 kB / 1.347 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/1.331, allocations: 247.4 kB / 1.347 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/1.332, allocations: 117.8 kB / 1.347 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/1.332, allocations: 79.91 kB / 1.347 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002822/1.335, allocations: 1.302 MB / 1.349 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.083e-06/1.335, allocations: 0 / 1.349 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006387/1.341, allocations: 1.726 MB / 1.35 GB, free: 9.504 MB / 0.8855 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.001177/1.342, allocations: 379 kB / 1.351 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009271/1.352, allocations: 3.341 MB / 1.354 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.352, allocations: 0 / 1.354 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002774/1.355, allocations: 1.043 MB / 1.355 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008969/1.364, allocations: 1.578 MB / 1.356 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.379, allocations: 7.831 MB / 1.364 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003137/1.382, allocations: 2.244 MB / 1.366 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005705/1.388, allocations: 1.111 MB / 1.367 GB, free: 7.914 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.389, allocations: 227.4 kB / 1.368 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of SimCode: time 1.672e-06/1.389, allocations: 0 / 1.368 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of Templates: time 0.1289/1.518, allocations: 52.21 MB / 1.419 GB, free: 3.938 MB / 0.948 GB