Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8037/0.8037, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001306/0.001306, allocations: 178.3 kB / 180.9 MB, free: 15.08 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.556/1.556, allocations: 170.7 MB / 383.7 MB, free: 16.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001721/0.001721, allocations: 107.2 kB / 454.6 MB, free: 9.723 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1625/0.1629, allocations: 73.41 MB / 0.6812 GB, free: 5.559 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.301/5.464, allocations: 2.149 GB / 2.83 GB, free: 55.87 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/5.465, allocations: 87.95 kB / 2.83 GB, free: 55.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.223/11.69, allocations: 1.746 GB / 4.576 GB, free: 29.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/11.69, allocations: 0 / 4.576 GB, free: 29.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003474/11.69, allocations: 107.9 kB / 4.576 GB, free: 28.99 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 788 * Number of variables: 788 Notification: Performance of Generate backend data structure: time 0.0152/11.7, allocations: 4.279 MB / 4.58 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/11.7, allocations: 8.031 kB / 4.58 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007939/11.71, allocations: 0.9435 MB / 4.581 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008542/11.72, allocations: 2.622 MB / 4.584 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/11.72, allocations: 310.1 kB / 4.584 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/11.72, allocations: 328.9 kB / 4.584 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009515/11.73, allocations: 3.997 MB / 4.588 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.109e-05/11.73, allocations: 3.938 kB / 4.588 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005119/11.73, allocations: 136 kB / 4.588 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.943e-05/11.73, allocations: 122.1 kB / 4.588 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007688/11.74, allocations: 3.365 MB / 4.592 GB, free: 12.65 MB / 0.6823 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.02462/11.76, allocations: 14.89 MB / 4.606 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/11.77, allocations: 2.01 MB / 4.608 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/11.77, allocations: 53.92 kB / 4.608 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/11.77, allocations: 72.45 kB / 4.608 GB, free: 10.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=186): time 5.7e-06/11.77, allocations: 0 / 4.608 GB, free: 10.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=186): time 0.009262/11.78, allocations: 3.323 MB / 4.612 GB, free: 7.164 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/11.78, allocations: 77.39 kB / 4.612 GB, free: 7.074 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003589/11.78, allocations: 1.98 MB / 4.614 GB, free: 5.082 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000565/11.78, allocations: 69.7 kB / 4.614 GB, free: 5.008 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/11.78, allocations: 1.542 MB / 4.615 GB, free: 3.449 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007781/11.78, allocations: 0.6625 MB / 4.616 GB, free: 2.777 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/11.78, allocations: 44 kB / 4.616 GB, free: 2.734 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001904/11.78, allocations: 398.6 kB / 4.616 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/11.79, allocations: 0.9961 MB / 4.617 GB, free: 1.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5759/12.36, allocations: 1.778 MB / 4.619 GB, free: 55.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/12.37, allocations: 1.357 MB / 4.62 GB, free: 55.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/12.37, allocations: 5.719 kB / 4.62 GB, free: 55.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.007943/12.37, allocations: 3.096 MB / 4.623 GB, free: 55.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001743/12.38, allocations: 7.132 MB / 4.63 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.006e-05/12.38, allocations: 19.53 kB / 4.63 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.833e-05/12.38, allocations: 28.62 kB / 4.63 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01276/12.39, allocations: 1.933 MB / 4.632 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00617/12.39, allocations: 4.912 MB / 4.637 GB, free: 43.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006257/12.4, allocations: 0.5126 MB / 4.638 GB, free: 43.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009272/12.4, allocations: 100.1 kB / 4.638 GB, free: 43.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/12.4, allocations: 5.156 kB / 4.638 GB, free: 43.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006486/12.41, allocations: 2.582 MB / 4.64 GB, free: 43.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-05/12.41, allocations: 18.28 kB / 4.64 GB, free: 43.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.695e-05/12.41, allocations: 30 kB / 4.64 GB, free: 43.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/12.41, allocations: 0.5238 MB / 4.641 GB, free: 43.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-05/12.41, allocations: 38.91 kB / 4.641 GB, free: 43.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004839/12.42, allocations: 441.7 kB / 4.641 GB, free: 43.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004055/12.42, allocations: 104 kB / 4.641 GB, free: 43.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (296): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 3 * 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.003264/12.42, allocations: 0.9293 MB / 4.642 GB, free: 43.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/12.42, allocations: 291.3 kB / 4.642 GB, free: 43.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009413/12.42, allocations: 320 kB / 4.643 GB, free: 43.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/12.42, allocations: 19.53 kB / 4.643 GB, free: 43.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/12.42, allocations: 0 / 4.643 GB, free: 43.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003707/12.43, allocations: 2.104 MB / 4.645 GB, free: 42.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/12.44, allocations: 5.476 MB / 4.65 GB, free: 42.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/12.44, allocations: 5.859 kB / 4.65 GB, free: 42.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01113/12.45, allocations: 1.94 MB / 4.652 GB, free: 42.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.839e-05/12.45, allocations: 6.281 kB / 4.652 GB, free: 42.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004655/12.45, allocations: 54.02 kB / 4.652 GB, free: 42.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/12.46, allocations: 11.21 MB / 4.663 GB, free: 33.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/12.46, allocations: 6.953 kB / 4.663 GB, free: 33.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008357/12.47, allocations: 3.802 MB / 4.667 GB, free: 32.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003252/12.47, allocations: 0.6414 MB / 4.667 GB, free: 32.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/12.48, allocations: 43.53 kB / 4.668 GB, free: 32.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/12.48, allocations: 328.8 kB / 4.668 GB, free: 32.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/12.48, allocations: 121.6 kB / 4.668 GB, free: 32.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002728/12.48, allocations: 87.78 kB / 4.668 GB, free: 32.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002911/12.48, allocations: 1.509 MB / 4.669 GB, free: 32.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/12.48, allocations: 0.5312 kB / 4.669 GB, free: 32.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01132/12.49, allocations: 2.322 MB / 4.672 GB, free: 32.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.00923/12.5, allocations: 4.781 MB / 4.676 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01783/12.52, allocations: 5.352 MB / 4.682 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/12.52, allocations: 3.156 kB / 4.682 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01891/12.54, allocations: 3.57 MB / 4.685 GB, free: 29.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/12.55, allocations: 1.696 MB / 4.687 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/12.57, allocations: 8.457 MB / 4.695 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004622/12.58, allocations: 2.363 MB / 4.697 GB, free: 25.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007497/12.58, allocations: 1.136 MB / 4.698 GB, free: 25.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/12.59, allocations: 227.4 kB / 4.699 GB, free: 25.34 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/12.59, allocations: 3.031 kB / 4.699 GB, free: 25.34 MB / 0.698 GB Notification: Performance of Templates: time 0.1668/12.75, allocations: 106.5 MB / 4.803 GB, free: 18.1 MB / 0.698 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)