Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9747/0.9747, allocations: 140 MB / 156 MB, free: 8.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001148, allocations: 187.4 kB / 188.5 MB, free: 9.008 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 426.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008763/0.0008761, allocations: 97.25 kB / 0.4945 GB, free: 8.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001714/0.001714, allocations: 270.3 kB / 0.5728 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004809, allocations: 16 kB / 0.662 GB, free: 6.734 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4096, allocations: 79.3 MB / 0.7394 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.427/5.837, allocations: 2.105 GB / 2.845 GB, free: 98.62 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/5.837, allocations: 95.95 kB / 2.845 GB, free: 98.53 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.453/14.29, allocations: 2.034 GB / 4.878 GB, free: 66.91 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.357e-06/14.29, allocations: 0 / 4.878 GB, free: 66.91 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0008785/14.29, allocations: 92.02 kB / 4.878 GB, free: 66.91 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: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.0201/14.31, allocations: 3.931 MB / 4.882 GB, free: 65.64 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/14.31, allocations: 11.75 kB / 4.882 GB, free: 65.64 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007668/14.32, allocations: 0.9224 MB / 4.883 GB, free: 65.45 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/14.33, allocations: 2.856 MB / 4.886 GB, free: 64.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005884/14.33, allocations: 277.7 kB / 4.886 GB, free: 64.86 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001738/14.33, allocations: 297.4 kB / 4.886 GB, free: 64.86 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/14.34, allocations: 3.234 MB / 4.89 GB, free: 64.6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/14.34, allocations: 9.016 kB / 4.89 GB, free: 64.6 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005333/14.34, allocations: 115.1 kB / 4.89 GB, free: 64.6 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/14.34, allocations: 101.6 kB / 4.89 GB, free: 64.59 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005147/14.35, allocations: 2.649 MB / 4.892 GB, free: 64.56 MB / 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.01842/14.37, allocations: 13.23 MB / 4.905 GB, free: 57.38 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/14.37, allocations: 1.801 MB / 4.907 GB, free: 57.34 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/14.37, allocations: 1.096 MB / 4.908 GB, free: 57.32 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/14.37, allocations: 329.4 kB / 4.908 GB, free: 57.04 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/14.37, allocations: 63.72 kB / 4.909 GB, free: 56.99 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=186): time 4.439e-06/14.37, allocations: 1.719 kB / 4.909 GB, free: 56.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=186): time 0.005404/14.38, allocations: 2.729 MB / 4.911 GB, free: 56.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/14.38, allocations: 70.62 kB / 4.911 GB, free: 56.71 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/14.38, allocations: 1.958 MB / 4.913 GB, free: 56.48 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005133/14.38, allocations: 70.52 kB / 4.913 GB, free: 56.45 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/14.38, allocations: 1.404 MB / 4.915 GB, free: 55.92 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/14.38, allocations: 0.6543 MB / 4.915 GB, free: 55.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/14.38, allocations: 45 kB / 4.915 GB, free: 55.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002013/14.38, allocations: 387.3 kB / 4.916 GB, free: 55.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/14.39, allocations: 0.7939 MB / 4.916 GB, free: 55.18 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/14.39, allocations: 1.469 MB / 4.918 GB, free: 54.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004901/14.39, allocations: 2.226 MB / 4.92 GB, free: 53.95 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/14.39, allocations: 2.844 kB / 4.92 GB, free: 53.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00718/14.4, allocations: 2.472 MB / 4.922 GB, free: 53.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005297/14.4, allocations: 474.6 kB / 4.923 GB, free: 53.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/14.4, allocations: 17.31 kB / 4.923 GB, free: 53.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.59e-05/14.4, allocations: 26 kB / 4.923 GB, free: 53.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/14.41, allocations: 0.5713 MB / 4.924 GB, free: 53.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/14.41, allocations: 4.162 MB / 4.928 GB, free: 49.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007076/14.42, allocations: 384.7 kB / 4.928 GB, free: 49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007788/14.42, allocations: 93.48 kB / 4.928 GB, free: 49 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/14.42, allocations: 6.656 kB / 4.928 GB, free: 49 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006546/14.42, allocations: 2.211 MB / 4.93 GB, free: 48.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/14.42, allocations: 15.16 kB / 4.93 GB, free: 48.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.357e-05/14.42, allocations: 22.03 kB / 4.93 GB, free: 48.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/14.43, allocations: 485.3 kB / 4.931 GB, free: 48.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.123e-05/14.43, allocations: 30.86 kB / 4.931 GB, free: 48.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006088/14.43, allocations: 356.5 kB / 4.931 GB, free: 48.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004539/14.43, allocations: 86.08 kB / 4.931 GB, free: 48.86 MB / 0.7605 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.00354/14.44, allocations: 0.8642 MB / 4.932 GB, free: 48.67 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/14.44, allocations: 271.7 kB / 4.932 GB, free: 48.53 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005827/14.45, allocations: 2.119 MB / 4.934 GB, free: 48.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/14.45, allocations: 19.16 kB / 4.934 GB, free: 48.41 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/14.45, allocations: 0 / 4.934 GB, free: 48.41 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004062/14.45, allocations: 1.891 MB / 4.936 GB, free: 48.11 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/14.47, allocations: 5.175 MB / 4.941 GB, free: 47.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/14.47, allocations: 7.312 kB / 4.941 GB, free: 47.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004236/14.47, allocations: 0.5177 MB / 4.942 GB, free: 47.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.283e-05/14.47, allocations: 12.28 kB / 4.942 GB, free: 47.57 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/14.47, allocations: 54.7 kB / 4.942 GB, free: 47.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/14.47, allocations: 4.122 MB / 4.946 GB, free: 43.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/14.47, allocations: 9.172 kB / 4.946 GB, free: 43.47 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008585/14.48, allocations: 3.383 MB / 4.949 GB, free: 43.02 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003189/14.48, allocations: 0.5735 MB / 4.95 GB, free: 42.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009155/14.48, allocations: 44.28 kB / 4.95 GB, free: 42.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003462/14.49, allocations: 246.9 kB / 4.95 GB, free: 42.75 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/14.49, allocations: 120.2 kB / 4.95 GB, free: 42.74 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/14.49, allocations: 72.39 kB / 4.95 GB, free: 42.74 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002604/14.49, allocations: 1.303 MB / 4.951 GB, free: 42.59 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.1e-07/14.49, allocations: 0 / 4.951 GB, free: 42.59 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007965/14.5, allocations: 2.149 MB / 4.954 GB, free: 42.35 MB / 0.7605 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.008039/14.51, allocations: 4.789 MB / 4.958 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0068/14.51, allocations: 3.314 MB / 4.961 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/14.51, allocations: 3.562 kB / 4.961 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/14.52, allocations: 1.039 MB / 4.962 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009661/14.53, allocations: 1.591 MB / 4.964 GB, free: 39.92 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/14.54, allocations: 7.859 MB / 4.972 GB, free: 36.88 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/14.54, allocations: 2.188 MB / 4.974 GB, free: 36.12 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005151/14.55, allocations: 1.106 MB / 4.975 GB, free: 36.09 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008384/14.55, allocations: 232.2 kB / 4.975 GB, free: 36.09 MB / 0.7605 GB Notification: Performance of SimCode: time 1.392e-06/14.55, allocations: 0 / 4.975 GB, free: 36.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.1545/14.7, allocations: 100.2 MB / 5.073 GB, free: 29.18 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)