Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008134/0.0008134, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006229/0.006229, allocations: 170.6 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6463/0.6463, allocations: 95.63 MB / 366.4 MB, free: 10.24 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006143/0.0006143, allocations: 19.98 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3936, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6759/1.07, allocations: 219.8 MB / 0.7203 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03329/1.103, allocations: 22.06 MB / 0.7418 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007051/1.11, allocations: 115.1 kB / 0.742 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004614/1.115, allocations: 1.088 MB / 0.743 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/1.125, allocations: 2.923 MB / 0.7459 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008567/1.134, allocations: 2.729 MB / 0.7485 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01416/1.148, allocations: 10.74 MB / 0.759 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004245/1.152, allocations: 2.277 MB / 0.7613 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005513/1.158, allocations: 2.268 MB / 0.7635 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004322/1.162, allocations: 2.346 MB / 0.7658 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004521/1.162, allocations: 124 kB / 0.7659 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005015/1.168, allocations: 1.4 MB / 0.7672 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001428/1.169, allocations: 0.8877 MB / 0.7681 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002717/1.172, allocations: 1.514 MB / 0.7696 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006688/1.178, allocations: 4.521 MB / 0.774 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.178, allocations: 0 / 0.774 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/1.178, allocations: 0 / 0.774 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.218e-05/1.178, allocations: 0 / 0.774 GB, free: 11.93 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.005127/1.184, allocations: 2.949 MB / 0.7769 GB, free: 8.875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.184, allocations: 11.98 kB / 0.7769 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/1.185, allocations: 377.1 kB / 0.7773 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/1.188, allocations: 1.915 MB / 0.7791 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/1.188, allocations: 235.7 kB / 0.7793 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/1.188, allocations: 239.8 kB / 0.7796 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004853/1.193, allocations: 2.772 MB / 0.7823 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/1.193, allocations: 7.938 kB / 0.7823 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/1.194, allocations: 96 kB / 0.7824 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/1.194, allocations: 56 kB / 0.7824 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00425/1.198, allocations: 2.174 MB / 0.7846 GB, free: 0.7539 MB / 0.545 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.01711/1.215, allocations: 12.09 MB / 0.7964 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/1.217, allocations: 1.293 MB / 0.7976 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/1.219, allocations: 0.7213 MB / 0.7983 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005833/1.224, allocations: 3.194 MB / 0.8015 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/1.225, allocations: 51.56 kB / 0.8015 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 3.176e-06/1.225, allocations: 0 / 0.8015 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=151): time 0.01594/1.241, allocations: 5.472 MB / 0.8068 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/1.241, allocations: 145.8 kB / 0.807 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/1.244, allocations: 1.906 MB / 0.8088 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/1.244, allocations: 65.7 kB / 0.8089 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009757/1.245, allocations: 1.271 MB / 0.8101 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/1.245, allocations: 0.5314 MB / 0.8107 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/1.245, allocations: 185.9 kB / 0.8108 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.246, allocations: 305.1 kB / 0.8111 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/1.247, allocations: 0.7108 MB / 0.8118 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/1.249, allocations: 1.366 MB / 0.8132 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/1.252, allocations: 2.322 MB / 0.8154 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.252, allocations: 4 kB / 0.8154 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.00458/1.256, allocations: 2.631 MB / 0.818 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006869/1.257, allocations: 0.8837 MB / 0.8189 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/1.257, allocations: 23.94 kB / 0.8189 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.671e-05/1.257, allocations: 39.94 kB / 0.8189 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/1.26, allocations: 0.6865 MB / 0.8196 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.263, allocations: 4.134 MB / 0.8236 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/1.265, allocations: 239.5 kB / 0.8239 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/1.265, allocations: 108 kB / 0.824 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.265, allocations: 7.938 kB / 0.824 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003856/1.269, allocations: 2.398 MB / 0.8263 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/1.269, allocations: 20 kB / 0.8263 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/1.269, allocations: 32 kB / 0.8264 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/1.271, allocations: 0.507 MB / 0.8269 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.617e-05/1.271, allocations: 43.86 kB / 0.8269 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/1.273, allocations: 223.6 kB / 0.8271 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/1.274, allocations: 104 kB / 0.8272 GB, free: 2.527 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (272): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001558/1.275, allocations: 0.6994 MB / 0.8279 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/1.276, allocations: 245 kB / 0.8281 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/1.278, allocations: 1.592 MB / 0.8297 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.279, allocations: 16 kB / 0.8297 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.279, allocations: 0 / 0.8297 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.279, allocations: 11.97 kB / 0.8297 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006076/1.285, allocations: 3.646 MB / 0.8333 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.285, allocations: 3.938 kB / 0.8333 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/1.287, allocations: 0.4994 MB / 0.8338 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/1.287, allocations: 4 kB / 0.8338 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.112e-05/1.287, allocations: 35.98 kB / 0.8338 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.289, allocations: 4.102 MB / 0.8378 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.289, allocations: 0 / 0.8378 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/1.293, allocations: 2.368 MB / 0.8401 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009018/1.294, allocations: 310.1 kB / 0.8404 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/1.295, allocations: 35.98 kB / 0.8405 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.296, allocations: 151.8 kB / 0.8406 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.296, allocations: 93.17 kB / 0.8407 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.296, allocations: 55.97 kB / 0.8407 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001977/1.298, allocations: 1.251 MB / 0.842 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.298, allocations: 0 / 0.842 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004044/1.302, allocations: 1.297 MB / 0.8432 GB, free: 1.828 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (vol.dynBal.medium.p,vol.dynBal.medium.T,vol.dynBal.mC[1],vol1.dynBal.medium.p,vol1.dynBal.medium.T,vol1.dynBal.mC[1],vol2.dynBal.medium.p,vol2.dynBal.medium.T,vol2.dynBal.mC[1],vol3.dynBal.medium.p,vol3.dynBal.medium.T,vol3.dynBal.mC[1],vol4.dynBal.medium.p,vol4.dynBal.medium.T,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 (151): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/1.304, allocations: 0.6456 MB / 0.8439 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007333/1.311, allocations: 3.846 MB / 0.8476 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.311, allocations: 4.438 kB / 0.8476 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/1.314, allocations: 0.9052 MB / 0.8485 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006373/1.32, allocations: 1.133 MB / 0.8496 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.331, allocations: 6.357 MB / 0.8558 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/1.332, allocations: 1.819 MB / 0.8576 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0036/1.336, allocations: 0.7785 MB / 0.8584 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006132/1.337, allocations: 179.4 kB / 0.8585 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of SimCode: time 1.293e-06/1.337, allocations: 0 / 0.8585 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of Templates: time 0.427/1.764, allocations: 46.18 MB / 0.9036 GB, free: 254.4 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) Environment - environmentSimulation: