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.001068/0.001068, allocations: 109.1 kB / 16.36 MB, free: 6.004 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.00102/0.00102, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 279.9 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8979/0.8979, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 106.6 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1687, allocations: 86.96 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4685/0.6372, allocations: 187.1 MB / 0.8643 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01388/0.6511, allocations: 13.02 MB / 0.877 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009292/0.6521, allocations: 27.88 kB / 0.877 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.6532, allocations: 417.2 kB / 0.8774 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.6553, allocations: 0.9253 MB / 0.8783 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.657, allocations: 0.7103 MB / 0.879 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.6587, allocations: 1.502 MB / 0.8805 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007794/0.6594, allocations: 0.6507 MB / 0.8811 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.6628, allocations: 1.72 MB / 0.8828 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.6638, allocations: 0.4993 MB / 0.8833 GB, free: 56 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.179e-05/0.6639, allocations: 60.05 kB / 0.8834 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.6654, allocations: 0.8691 MB / 0.8842 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.6657, allocations: 279.2 kB / 0.8845 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.666, allocations: 390 kB / 0.8848 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.6674, allocations: 1.176 MB / 0.886 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.6674, allocations: 0 / 0.886 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6674, allocations: 0 / 0.886 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.6674, allocations: 0 / 0.886 GB, free: 13.29 MB / 0.6544 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.001297/0.6687, allocations: 1.057 MB / 0.887 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.6688, allocations: 8.031 kB / 0.887 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008776/0.6697, allocations: 190.8 kB / 0.8872 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/0.6705, allocations: 0.5481 MB / 0.8877 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.6706, allocations: 45.31 kB / 0.8878 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.6706, allocations: 60 kB / 0.8878 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.6717, allocations: 0.7711 MB / 0.8886 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.6717, allocations: 7.922 kB / 0.8886 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.6718, allocations: 32 kB / 0.8886 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.6718, allocations: 24.94 kB / 0.8887 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000817/0.6726, allocations: 463.8 kB / 0.8891 GB, free: 9.906 MB / 0.6544 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.003442/0.6761, allocations: 4.378 MB / 0.8934 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.6762, allocations: 114.4 kB / 0.8935 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.6763, allocations: 71.44 kB / 0.8936 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.6765, allocations: 97.09 kB / 0.8937 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.6765, allocations: 46.5 kB / 0.8937 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.6765, allocations: 0 / 0.8937 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006089/0.6771, allocations: 240.6 kB / 0.8939 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.6772, allocations: 136.5 kB / 0.8941 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009974/0.6782, allocations: 0.841 MB / 0.8949 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.6782, allocations: 29.7 kB / 0.8949 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.6785, allocations: 402.8 kB / 0.8953 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.6786, allocations: 35.55 kB / 0.8953 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.6787, allocations: 93.88 kB / 0.8954 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.6788, allocations: 325.9 kB / 0.8957 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.6791, allocations: 112.7 kB / 0.8958 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.6795, allocations: 362.4 kB / 0.8962 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.68, allocations: 445.5 kB / 0.8966 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.68, allocations: 7.984 kB / 0.8966 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008405/0.6809, allocations: 0.4883 MB / 0.8971 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6809, allocations: 8 kB / 0.8971 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.6809, allocations: 8.844 kB / 0.8971 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.6809, allocations: 12 kB / 0.8971 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.6812, allocations: 95.83 kB / 0.8972 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.6812, allocations: 15.92 kB / 0.8972 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/0.6819, allocations: 119 kB / 0.8973 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.6819, allocations: 24 kB / 0.8974 GB, free: 0.8438 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.000222/0.6821, allocations: 233.5 kB / 0.8976 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6823, allocations: 75.06 kB / 0.8977 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.6824, allocations: 70.64 kB / 0.8977 GB, free: 472 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6824, allocations: 4 kB / 0.8977 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6824, allocations: 0 / 0.8977 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6824, allocations: 4 kB / 0.8977 GB, free: 464 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.6837, allocations: 1.121 MB / 0.8988 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6837, allocations: 4 kB / 0.8988 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.6838, allocations: 23.92 kB / 0.8988 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.6838, allocations: 3.984 kB / 0.8989 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.6838, allocations: 4 kB / 0.8989 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.6838, allocations: 4 kB / 0.8989 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6838, allocations: 4.125 kB / 0.8989 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.6841, allocations: 264 kB / 0.8991 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.6843, allocations: 180 kB / 0.8993 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.6844, allocations: 11.98 kB / 0.8993 GB, free: 14.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.6847, allocations: 16.08 kB / 0.8993 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.6847, allocations: 15.81 kB / 0.8993 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.6848, allocations: 8 kB / 0.8993 GB, free: 14.65 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007203/0.6855, allocations: 0.5888 MB / 0.8999 GB, free: 14.07 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6855, allocations: 0 / 0.8999 GB, free: 14.07 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005207/0.686, allocations: 155.8 kB / 0.9001 GB, free: 13.91 MB / 0.67 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.0004307/0.6865, allocations: 204.7 kB / 0.9003 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004716/0.6869, allocations: 237.2 kB / 0.9005 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6869, allocations: 0 / 0.9005 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-05/0.687, allocations: 51.84 kB / 0.9005 GB, free: 13.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.6884, allocations: 373.5 kB / 0.9009 GB, free: 13.08 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.6898, allocations: 1.056 MB / 0.9019 GB, free: 11.97 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.6902, allocations: 0.937 MB / 0.9028 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000395/0.6906, allocations: 150.1 kB / 0.903 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.6907, allocations: 43.44 kB / 0.903 GB, free: 10.81 MB / 0.67 GB Notification: Performance of SimCode: time 2.81e-07/0.6907, allocations: 0 / 0.903 GB, free: 10.81 MB / 0.67 GB Notification: Performance of Templates: time 0.0187/0.7094, allocations: 11.71 MB / 0.9145 GB, free: 15.36 MB / 0.6856 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)