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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001945/0.001946, allocations: 192.6 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002637/0.002637, allocations: 286.3 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.1/1.1, allocations: 178.6 MB / 0.5068 GB, free: 4.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 95.98 kB / 0.6057 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1875, allocations: 89.15 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5401/0.7277, allocations: 184.8 MB / 0.8733 GB, free: 280 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.7447, allocations: 13.08 MB / 0.8861 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.746, allocations: 29.62 kB / 0.8861 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.7476, allocations: 340.4 kB / 0.8864 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.7504, allocations: 0.8694 MB / 0.8873 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.7527, allocations: 0.6145 MB / 0.8879 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002997/0.7557, allocations: 2.11 MB / 0.8899 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.7568, allocations: 0.5688 MB / 0.8905 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/0.7613, allocations: 1.588 MB / 0.892 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.7634, allocations: 0.5338 MB / 0.8926 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002306/0.7637, allocations: 36 kB / 0.8926 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.7666, allocations: 0.982 MB / 0.8936 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.7671, allocations: 259.3 kB / 0.8938 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007935/0.7679, allocations: 370 kB / 0.8942 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.7703, allocations: 1.172 MB / 0.8953 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.7704, allocations: 4 kB / 0.8953 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7704, allocations: 0 / 0.8953 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.829e-05/0.7704, allocations: 0 / 0.8953 GB, free: 12.77 MB / 0.6231 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.002321/0.7727, allocations: 1.056 MB / 0.8963 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.7728, allocations: 8.031 kB / 0.8963 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.7739, allocations: 198.8 kB / 0.8965 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.775, allocations: 0.5207 MB / 0.897 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.7753, allocations: 105.2 kB / 0.8971 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.7755, allocations: 56 kB / 0.8972 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.7769, allocations: 0.7635 MB / 0.8979 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.777, allocations: 7.938 kB / 0.8979 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.777, allocations: 27.94 kB / 0.898 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.7771, allocations: 25 kB / 0.898 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.7782, allocations: 467.2 kB / 0.8984 GB, free: 9.363 MB / 0.6231 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.004596/0.7828, allocations: 4.163 MB / 0.9025 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.783, allocations: 102.4 kB / 0.9026 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.7831, allocations: 75.58 kB / 0.9027 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.7833, allocations: 97.03 kB / 0.9028 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.7833, allocations: 38.56 kB / 0.9028 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.7833, allocations: 0 / 0.9028 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0007463/0.7841, allocations: 240.8 kB / 0.903 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.7842, allocations: 136.5 kB / 0.9032 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.7854, allocations: 0.8329 MB / 0.904 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.7855, allocations: 29.7 kB / 0.904 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.7858, allocations: 402.9 kB / 0.9044 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.7858, allocations: 35.55 kB / 0.9044 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.786, allocations: 85.5 kB / 0.9045 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7862, allocations: 325.9 kB / 0.9048 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.7865, allocations: 107.9 kB / 0.9049 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.787, allocations: 345.8 kB / 0.9053 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.7877, allocations: 411 kB / 0.9056 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.7877, allocations: 4 kB / 0.9056 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001036/0.7887, allocations: 488.1 kB / 0.9061 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.7887, allocations: 8 kB / 0.9061 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.7888, allocations: 4.75 kB / 0.9061 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.7888, allocations: 16 kB / 0.9061 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.7891, allocations: 95.81 kB / 0.9062 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.7892, allocations: 8 kB / 0.9062 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/0.7899, allocations: 123.1 kB / 0.9064 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.79, allocations: 31.88 kB / 0.9064 GB, free: 0.6523 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.7903, allocations: 225.7 kB / 0.9066 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.7904, allocations: 75.56 kB / 0.9067 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.7906, allocations: 74.09 kB / 0.9067 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7906, allocations: 128 / 0.9067 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.7906, allocations: 8 kB / 0.9068 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7906, allocations: 3.984 kB / 0.9068 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.7921, allocations: 1.132 MB / 0.9079 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7921, allocations: 8.031 kB / 0.9079 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.7922, allocations: 15.98 kB / 0.9079 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.7923, allocations: 4 kB / 0.9079 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.7923, allocations: 4 kB / 0.9079 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.7923, allocations: 7.938 kB / 0.9079 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7923, allocations: 0 / 0.9079 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.7926, allocations: 263.8 kB / 0.9082 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.7928, allocations: 172.2 kB / 0.9083 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/0.793, allocations: 8 kB / 0.9083 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.7933, allocations: 19.98 kB / 0.9083 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.7933, allocations: 15.95 kB / 0.9084 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.7934, allocations: 7.938 kB / 0.9084 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008874/0.7943, allocations: 0.5888 MB / 0.9089 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7943, allocations: 0 / 0.9089 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000589/0.7949, allocations: 155.8 kB / 0.9091 GB, free: 13.72 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004543/0.7953, allocations: 184.3 kB / 0.9093 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005375/0.7959, allocations: 229 kB / 0.9095 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7959, allocations: 0 / 0.9095 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.796, allocations: 56.72 kB / 0.9095 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.7977, allocations: 366.6 kB / 0.9099 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.7995, allocations: 1.262 MB / 0.9111 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.8001, allocations: 0.9333 MB / 0.912 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005037/0.8006, allocations: 138.1 kB / 0.9122 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.8007, allocations: 51.44 kB / 0.9122 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.8007, allocations: 0 / 0.9122 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of Templates: time 0.02176/0.8225, allocations: 11.28 MB / 0.9232 GB, free: 15.41 MB / 0.6544 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)