Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008834/0.0008834, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001112/0.001112, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005711/0.0005712, allocations: 13.38 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2497, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6604/0.9101, allocations: 170.2 MB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.924, allocations: 12.05 MB / 0.9653 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.9256, allocations: 27.42 kB / 0.9653 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.9269, allocations: 283.2 kB / 0.9655 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.9292, allocations: 0.704 MB / 0.9662 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.9312, allocations: 0.5612 MB / 0.9668 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.9336, allocations: 1.775 MB / 0.9685 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008132/0.9344, allocations: 494.3 kB / 0.969 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.9382, allocations: 1.276 MB / 0.9702 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009767/0.9391, allocations: 478.8 kB / 0.9707 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.9392, allocations: 25.97 kB / 0.9707 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.9408, allocations: 0.5931 MB / 0.9713 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.9411, allocations: 243.3 kB / 0.9715 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.9416, allocations: 164.6 kB / 0.9717 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.9426, allocations: 0.8204 MB / 0.9725 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.9426, allocations: 7.859 kB / 0.9725 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9426, allocations: 0 / 0.9725 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.9426, allocations: 0 / 0.9725 GB, free: 19.24 MB / 0.7325 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.001248/0.9439, allocations: 0.9137 MB / 0.9734 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.9439, allocations: 8.25 kB / 0.9734 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.9449, allocations: 206.4 kB / 0.9736 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.9457, allocations: 0.5049 MB / 0.9741 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.946, allocations: 108.5 kB / 0.9742 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.9461, allocations: 60.12 kB / 0.9742 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.9472, allocations: 0.7661 MB / 0.975 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.9472, allocations: 6.344 kB / 0.975 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/0.9472, allocations: 26.64 kB / 0.975 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.9473, allocations: 29.38 kB / 0.9751 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008612/0.9482, allocations: 473.9 kB / 0.9755 GB, free: 17.91 MB / 0.7325 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.003303/0.9515, allocations: 4.17 MB / 0.9796 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.459e-05/0.9516, allocations: 107.2 kB / 0.9797 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/0.9517, allocations: 76.77 kB / 0.9797 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.9518, allocations: 90.61 kB / 0.9798 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.9519, allocations: 42.25 kB / 0.9799 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.9519, allocations: 0 / 0.9799 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005721/0.9524, allocations: 243.1 kB / 0.9801 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.9525, allocations: 134.3 kB / 0.9802 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.9534, allocations: 0.8315 MB / 0.981 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.9534, allocations: 28.7 kB / 0.9811 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.9537, allocations: 399.2 kB / 0.9815 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.9537, allocations: 40.38 kB / 0.9815 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.9537, allocations: 5.938 kB / 0.9815 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9539, allocations: 320.3 kB / 0.9818 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.9541, allocations: 119.6 kB / 0.9819 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.9544, allocations: 345.8 kB / 0.9822 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.9547, allocations: 166.1 kB / 0.9824 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.9547, allocations: 2.688 kB / 0.9824 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007387/0.9555, allocations: 0.4896 MB / 0.9829 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.9555, allocations: 7.875 kB / 0.9829 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.9555, allocations: 8.75 kB / 0.9829 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.9555, allocations: 11.66 kB / 0.9829 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.9558, allocations: 101.7 kB / 0.983 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.9558, allocations: 16.73 kB / 0.983 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006513/0.9565, allocations: 132.4 kB / 0.9832 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.9566, allocations: 25.94 kB / 0.9832 GB, free: 13.05 MB / 0.7325 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.0002346/0.9568, allocations: 226.6 kB / 0.9834 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.9569, allocations: 74.78 kB / 0.9835 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.957, allocations: 70.48 kB / 0.9835 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.957, allocations: 0 / 0.9835 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.957, allocations: 7.203 kB / 0.9835 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.957, allocations: 0 / 0.9835 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.9582, allocations: 1.127 MB / 0.9846 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9582, allocations: 2.469 kB / 0.9846 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.9583, allocations: 14.09 kB / 0.9847 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.9583, allocations: 3.094 kB / 0.9847 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.9583, allocations: 10.98 kB / 0.9847 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.9583, allocations: 2.25 kB / 0.9847 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9583, allocations: 7.375 kB / 0.9847 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.9586, allocations: 272.8 kB / 0.9849 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.9588, allocations: 165.1 kB / 0.9851 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.9589, allocations: 8.578 kB / 0.9851 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.9592, allocations: 24.33 kB / 0.9851 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.9592, allocations: 16.42 kB / 0.9851 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.9592, allocations: 5.844 kB / 0.9851 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000711/0.9599, allocations: 0.5865 MB / 0.9857 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9599, allocations: 0 / 0.9857 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005746/0.9605, allocations: 159.7 kB / 0.9859 GB, free: 11.45 MB / 0.7325 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.0004112/0.9609, allocations: 197 kB / 0.9861 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.9614, allocations: 240.1 kB / 0.9863 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9614, allocations: 0 / 0.9863 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.738e-05/0.9615, allocations: 44.36 kB / 0.9863 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.9629, allocations: 367.1 kB / 0.9867 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.9645, allocations: 1.241 MB / 0.9879 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.9649, allocations: 0.9363 MB / 0.9888 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000458/0.9654, allocations: 140.8 kB / 0.9889 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.9655, allocations: 44.94 kB / 0.989 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/0.9655, allocations: 0 / 0.989 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of Templates: time 0.01897/0.9844, allocations: 10.87 MB / 0.9996 GB, free: 4.152 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) Environment - environmentSimulation: