Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9014/0.9014, allocations: 143.4 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 179.8 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009977/0.0009978, allocations: 92.27 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 274.4 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004667, allocations: 13.69 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2226, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.731/4.954, allocations: 1.89 GB / 2.663 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/4.954, allocations: 98.47 kB / 2.664 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.147/7.101, allocations: 0.6155 GB / 3.279 GB, free: 94.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/7.101, allocations: 0 / 3.279 GB, free: 94.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.277e-05/7.101, allocations: 19.98 kB / 3.279 GB, free: 94.4 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002987/7.104, allocations: 1.135 MB / 3.28 GB, free: 93.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/7.104, allocations: 12.02 kB / 3.28 GB, free: 93.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/7.106, allocations: 186.8 kB / 3.28 GB, free: 93.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/7.107, allocations: 0.5329 MB / 3.281 GB, free: 92.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004863/7.107, allocations: 113.2 kB / 3.281 GB, free: 92.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/7.107, allocations: 56 kB / 3.281 GB, free: 92.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/7.109, allocations: 0.7566 MB / 3.282 GB, free: 91.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/7.109, allocations: 7.938 kB / 3.282 GB, free: 91.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/7.109, allocations: 34.5 kB / 3.282 GB, free: 91.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/7.109, allocations: 21 kB / 3.282 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/7.11, allocations: 465.1 kB / 3.282 GB, free: 90.92 MB / 0.7136 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.004289/7.115, allocations: 4.192 MB / 3.286 GB, free: 86.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/7.115, allocations: 102.8 kB / 3.286 GB, free: 86.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/7.115, allocations: 93.28 kB / 3.287 GB, free: 86.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/7.115, allocations: 50.5 kB / 3.287 GB, free: 86.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/7.115, allocations: 0 / 3.287 GB, free: 86.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0009133/7.116, allocations: 240.9 kB / 3.287 GB, free: 85.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/7.116, allocations: 136.5 kB / 3.287 GB, free: 85.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/7.117, allocations: 0.7348 MB / 3.288 GB, free: 85.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/7.118, allocations: 33.7 kB / 3.288 GB, free: 85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/7.118, allocations: 394.9 kB / 3.288 GB, free: 84.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/7.118, allocations: 39.55 kB / 3.288 GB, free: 84.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/7.118, allocations: 8 kB / 3.288 GB, free: 84.56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/7.118, allocations: 325.9 kB / 3.288 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/7.118, allocations: 115.9 kB / 3.289 GB, free: 84.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/7.119, allocations: 347.6 kB / 3.289 GB, free: 83.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/7.12, allocations: 171.5 kB / 3.289 GB, free: 83.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/7.12, allocations: 4 kB / 3.289 GB, free: 83.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001368/7.121, allocations: 0.4884 MB / 3.29 GB, free: 83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/7.121, allocations: 11.94 kB / 3.29 GB, free: 82.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/7.121, allocations: 4 kB / 3.29 GB, free: 82.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/7.121, allocations: 16.7 kB / 3.29 GB, free: 82.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/7.122, allocations: 95.89 kB / 3.29 GB, free: 82.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/7.122, allocations: 15.92 kB / 3.29 GB, free: 82.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/7.123, allocations: 127.1 kB / 3.29 GB, free: 82.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/7.123, allocations: 28 kB / 3.29 GB, free: 82.71 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004076/7.123, allocations: 229.6 kB / 3.29 GB, free: 82.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/7.124, allocations: 75.06 kB / 3.29 GB, free: 82.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/7.124, allocations: 74.02 kB / 3.29 GB, free: 82.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/7.124, allocations: 0 / 3.29 GB, free: 82.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/7.124, allocations: 3.953 kB / 3.29 GB, free: 82.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/7.124, allocations: 4 kB / 3.29 GB, free: 82.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/7.126, allocations: 1.121 MB / 3.291 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/7.126, allocations: 0 / 3.291 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/7.126, allocations: 19.94 kB / 3.291 GB, free: 81.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/7.126, allocations: 4 kB / 3.291 GB, free: 81.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/7.126, allocations: 8 kB / 3.291 GB, free: 81.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/7.126, allocations: 3.984 kB / 3.291 GB, free: 81.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/7.126, allocations: 7.938 kB / 3.291 GB, free: 81.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/7.126, allocations: 363.4 kB / 3.292 GB, free: 80.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/7.127, allocations: 168.1 kB / 3.292 GB, free: 80.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/7.127, allocations: 11.98 kB / 3.292 GB, free: 80.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/7.127, allocations: 27.94 kB / 3.292 GB, free: 80.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/7.127, allocations: 15.98 kB / 3.292 GB, free: 80.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/7.127, allocations: 4 kB / 3.292 GB, free: 80.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001148/7.128, allocations: 0.581 MB / 3.292 GB, free: 79.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.21e-07/7.128, allocations: 3.938 kB / 3.292 GB, free: 79.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00173/7.13, allocations: 319.8 kB / 3.293 GB, free: 79.47 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003122/7.133, allocations: 1.725 MB / 3.294 GB, free: 77.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008668/7.134, allocations: 237 kB / 3.295 GB, free: 77.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/7.134, allocations: 0 / 3.295 GB, free: 77.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/7.134, allocations: 56.72 kB / 3.295 GB, free: 77.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/7.137, allocations: 364.1 kB / 3.295 GB, free: 77.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/7.139, allocations: 1.238 MB / 3.296 GB, free: 75.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/7.14, allocations: 0.9527 MB / 3.297 GB, free: 74.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008731/7.141, allocations: 142.1 kB / 3.297 GB, free: 74.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/7.141, allocations: 47.44 kB / 3.297 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.523e-06/7.141, allocations: 0 / 3.297 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.06824/7.209, allocations: 31.34 MB / 3.328 GB, free: 43.46 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)