Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009905/0.0009906, allocations: 182 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 0.5783 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008052/0.0008051, allocations: 79.69 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8.906 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.269, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.8895/1.159, allocations: 279.4 MB / 1.174 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03696/1.196, allocations: 24.2 MB / 1.197 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00642/1.202, allocations: 97.5 kB / 1.197 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005194/1.207, allocations: 1.204 MB / 1.199 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01654/1.224, allocations: 4.391 MB / 1.203 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007815/1.232, allocations: 2.02 MB / 1.205 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01681/1.249, allocations: 10.71 MB / 1.215 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005455/1.254, allocations: 2.582 MB / 1.218 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/1.264, allocations: 3.284 MB / 1.221 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008074/1.272, allocations: 2.857 MB / 1.224 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001333/1.274, allocations: 152 kB / 1.224 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009963/1.284, allocations: 2.405 MB / 1.226 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002756/1.286, allocations: 1.461 MB / 1.228 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002465/1.289, allocations: 0.7694 MB / 1.228 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.009176/1.298, allocations: 4.825 MB / 1.233 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.298, allocations: 4 kB / 1.233 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.196e-06/1.298, allocations: 0 / 1.233 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002054/1.298, allocations: 0 / 1.233 GB, free: 14.35 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.008056/1.307, allocations: 3.483 MB / 1.237 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.307, allocations: 15.97 kB / 1.237 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/1.313, allocations: 0.9361 MB / 1.238 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005779/1.318, allocations: 2.367 MB / 1.24 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/1.319, allocations: 285.5 kB / 1.24 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005708/1.319, allocations: 291.9 kB / 1.24 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006366/1.326, allocations: 3.399 MB / 1.244 GB, free: 3.332 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/1.326, allocations: 3.938 kB / 1.244 GB, free: 3.328 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/1.326, allocations: 116 kB / 1.244 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/1.326, allocations: 109.4 kB / 1.244 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/1.331, allocations: 2.812 MB / 1.247 GB, free: 288 kB / 0.7605 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.01939/1.351, allocations: 13.29 MB / 1.26 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/1.354, allocations: 1.841 MB / 1.261 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/1.355, allocations: 1.106 MB / 1.263 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/1.356, allocations: 321.2 kB / 1.263 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/1.356, allocations: 64.56 kB / 1.263 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=186): time 4.989e-06/1.356, allocations: 0 / 1.263 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of matching and sorting (n=186): time 0.005574/1.362, allocations: 2.743 MB / 1.266 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/1.362, allocations: 81.28 kB / 1.266 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/1.365, allocations: 1.973 MB / 1.268 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003922/1.365, allocations: 65.7 kB / 1.268 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/1.367, allocations: 1.395 MB / 1.269 GB, free: 8.102 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009176/1.368, allocations: 0.6584 MB / 1.27 GB, free: 7.434 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/1.368, allocations: 44 kB / 1.27 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002375/1.368, allocations: 390 kB / 1.27 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/1.37, allocations: 0.7926 MB / 1.271 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/1.372, allocations: 1.42 MB / 1.272 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/1.373, allocations: 1.056 MB / 1.273 GB, free: 3.465 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/1.373, allocations: 4 kB / 1.273 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.0045/1.378, allocations: 2.466 MB / 1.276 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004086/1.378, allocations: 470.7 kB / 1.276 GB, free: 356 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/1.378, allocations: 16 kB / 1.276 GB, free: 340 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.132e-05/1.378, allocations: 24 kB / 1.276 GB, free: 316 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/1.381, allocations: 0.5656 MB / 1.277 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/1.383, allocations: 4.153 MB / 1.281 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004067/1.388, allocations: 381 kB / 1.281 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/1.388, allocations: 91.92 kB / 1.281 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.388, allocations: 6.812 kB / 1.281 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003644/1.391, allocations: 2.21 MB / 1.283 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/1.391, allocations: 16.86 kB / 1.283 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/1.391, allocations: 24 kB / 1.283 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.393, allocations: 487.3 kB / 1.284 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.989e-05/1.393, allocations: 31.92 kB / 1.284 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/1.397, allocations: 364.6 kB / 1.284 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/1.397, allocations: 83.98 kB / 1.284 GB, free: 7.77 MB / 0.8073 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.002087/1.399, allocations: 0.8715 MB / 1.285 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007131/1.4, allocations: 268.8 kB / 1.285 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/1.403, allocations: 2.126 MB / 1.288 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/1.404, allocations: 20 kB / 1.288 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.404, allocations: 0 / 1.288 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002632/1.406, allocations: 1.89 MB / 1.289 GB, free: 2.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009707/1.416, allocations: 5.213 MB / 1.294 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.416, allocations: 0 / 1.294 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002346/1.418, allocations: 0.5153 MB / 1.295 GB, free: 12.69 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-05/1.418, allocations: 12 kB / 1.295 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/1.419, allocations: 55.97 kB / 1.295 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/1.421, allocations: 4.122 MB / 1.299 GB, free: 8.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.421, allocations: 4 kB / 1.299 GB, free: 8.336 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005596/1.426, allocations: 3.402 MB / 1.302 GB, free: 4.883 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/1.428, allocations: 0.5872 MB / 1.303 GB, free: 4.273 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000433/1.429, allocations: 51.98 kB / 1.303 GB, free: 4.223 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.431, allocations: 265.3 kB / 1.303 GB, free: 3.965 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/1.431, allocations: 129.9 kB / 1.303 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.432, allocations: 71.95 kB / 1.303 GB, free: 3.766 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002165/1.434, allocations: 1.31 MB / 1.305 GB, free: 2.445 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.61e-07/1.434, allocations: 0 / 1.305 GB, free: 2.445 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005471/1.439, allocations: 1.745 MB / 1.306 GB, free: 0.6953 MB / 0.823 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.001009/1.44, allocations: 373.9 kB / 1.307 GB, free: 340 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006503/1.447, allocations: 3.306 MB / 1.31 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.447, allocations: 8 kB / 1.31 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/1.449, allocations: 1.039 MB / 1.311 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008747/1.457, allocations: 1.607 MB / 1.313 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.47, allocations: 8.137 MB / 1.321 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/1.472, allocations: 2.201 MB / 1.323 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.473, allocations: 247.3 kB / 1.323 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/1.473, allocations: 0 / 1.323 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.6715/2.145, allocations: 141.4 MB / 1.461 GB, free: 322.3 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)