Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 288.4 MB / 303.4 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 182.1 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008174/0.0008175, allocations: 92.92 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 11.09 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2127, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7695/0.9822, allocations: 278.7 MB / 1.252 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.03424/1.017, allocations: 23.98 MB / 1.275 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004699/1.021, allocations: 99.31 kB / 1.275 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004832/1.026, allocations: 1.2 MB / 1.276 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/1.039, allocations: 4.355 MB / 1.281 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.006252/1.045, allocations: 1.936 MB / 1.283 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0142/1.059, allocations: 10.39 MB / 1.293 GB, free: 10.07 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005193/1.065, allocations: 2.539 MB / 1.295 GB, free: 7.488 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01262/1.077, allocations: 3.19 MB / 1.298 GB, free: 4.285 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008485/1.086, allocations: 2.818 MB / 1.301 GB, free: 1.457 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001601/1.087, allocations: 152 kB / 1.301 GB, free: 1.309 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/1.098, allocations: 2.412 MB / 1.304 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002912/1.101, allocations: 1.426 MB / 1.305 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002089/1.103, allocations: 0.7576 MB / 1.306 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.009558/1.112, allocations: 4.734 MB / 1.31 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.112, allocations: 3.938 kB / 1.31 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.6e-06/1.113, allocations: 4 kB / 1.31 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001964/1.113, allocations: 0 / 1.31 GB, free: 7.945 MB / 0.8386 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.009074/1.122, allocations: 3.468 MB / 1.314 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.122, allocations: 8.031 kB / 1.314 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008946/1.131, allocations: 0.94 MB / 1.315 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008695/1.14, allocations: 2.363 MB / 1.317 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004831/1.14, allocations: 273.4 kB / 1.317 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/1.141, allocations: 299.9 kB / 1.318 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009559/1.151, allocations: 3.339 MB / 1.321 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.008e-05/1.151, allocations: 0 / 1.321 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004162/1.151, allocations: 116 kB / 1.321 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/1.151, allocations: 117.2 kB / 1.321 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00696/1.158, allocations: 2.785 MB / 1.324 GB, free: 9.992 MB / 0.8542 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.02403/1.182, allocations: 13.24 MB / 1.337 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/1.187, allocations: 1.875 MB / 1.338 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/1.189, allocations: 1.114 MB / 1.34 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/1.19, allocations: 337.2 kB / 1.34 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.502e-05/1.19, allocations: 56.56 kB / 1.34 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=186): time 6.362e-06/1.19, allocations: 0 / 1.34 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=186): time 0.007901/1.198, allocations: 2.774 MB / 1.343 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/1.198, allocations: 69.41 kB / 1.343 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/1.202, allocations: 1.957 MB / 1.345 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003429/1.202, allocations: 69.7 kB / 1.345 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001459/1.204, allocations: 1.391 MB / 1.346 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009176/1.205, allocations: 0.6584 MB / 1.347 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/1.205, allocations: 40 kB / 1.347 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002161/1.205, allocations: 386 kB / 1.347 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/1.207, allocations: 0.7966 MB / 1.348 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/1.21, allocations: 1.466 MB / 1.349 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/1.212, allocations: 1.06 MB / 1.35 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.213, allocations: 4 kB / 1.35 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006658/1.219, allocations: 2.494 MB / 1.353 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004967/1.22, allocations: 474.5 kB / 1.353 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/1.22, allocations: 23.94 kB / 1.353 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-05/1.22, allocations: 24 kB / 1.353 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.223, allocations: 0.5656 MB / 1.354 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/1.225, allocations: 4.145 MB / 1.358 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/1.229, allocations: 382.6 kB / 1.358 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/1.229, allocations: 91.98 kB / 1.358 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.229, allocations: 4 kB / 1.358 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00342/1.232, allocations: 2.234 MB / 1.361 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/1.232, allocations: 12 kB / 1.361 GB, free: 2.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/1.232, allocations: 24 kB / 1.361 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/1.234, allocations: 479.3 kB / 1.361 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.197e-05/1.234, allocations: 27.92 kB / 1.361 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/1.237, allocations: 354.3 kB / 1.361 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/1.238, allocations: 87.98 kB / 1.361 GB, free: 1.367 MB / 0.8855 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.001898/1.24, allocations: 0.8639 MB / 1.362 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007264/1.24, allocations: 272.8 kB / 1.363 GB, free: 228 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/1.244, allocations: 2.142 MB / 1.365 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.244, allocations: 23.94 kB / 1.365 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.244, allocations: 0 / 1.365 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002681/1.247, allocations: 1.909 MB / 1.367 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009231/1.256, allocations: 5.204 MB / 1.372 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/1.256, allocations: 4 kB / 1.372 GB, free: 6.777 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/1.258, allocations: 0.5036 MB / 1.372 GB, free: 6.273 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.863e-05/1.258, allocations: 12 kB / 1.372 GB, free: 6.262 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/1.258, allocations: 51.98 kB / 1.372 GB, free: 6.211 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/1.26, allocations: 4.13 MB / 1.376 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.26, allocations: 7.969 kB / 1.376 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/1.266, allocations: 3.426 MB / 1.38 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/1.267, allocations: 0.5755 MB / 1.38 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005411/1.268, allocations: 43.92 kB / 1.38 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.271, allocations: 249.2 kB / 1.38 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.271, allocations: 118 kB / 1.381 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/1.271, allocations: 75.95 kB / 1.381 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002424/1.273, allocations: 1.306 MB / 1.382 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.274, allocations: 0 / 1.382 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005529/1.279, allocations: 1.722 MB / 1.384 GB, free: 10.31 MB / 0.9167 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.001057/1.28, allocations: 377.7 kB / 1.384 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006925/1.287, allocations: 3.345 MB / 1.387 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.287, allocations: 0 / 1.387 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/1.289, allocations: 1.051 MB / 1.388 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009636/1.299, allocations: 1.613 MB / 1.39 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.312, allocations: 7.855 MB / 1.397 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/1.314, allocations: 2.178 MB / 1.4 GB, free: 9.84 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0043/1.319, allocations: 1.107 MB / 1.401 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007031/1.319, allocations: 235.4 kB / 1.401 GB, free: 8.496 MB / 0.9323 GB Notification: Performance of SimCode: time 8.11e-07/1.319, allocations: 0 / 1.401 GB, free: 8.496 MB / 0.9323 GB Notification: Performance of Templates: time 0.5036/1.823, allocations: 52.26 MB / 1.452 GB, free: 337.2 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)