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.001512/0.001512, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 198.5 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.878/1.878, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001452/0.001452, allocations: 72.56 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2495, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6982/0.9478, allocations: 187.1 MB / 0.9668 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.9636, allocations: 13.01 MB / 0.9795 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.9659, allocations: 26.88 kB / 0.9796 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.9678, allocations: 411.6 kB / 0.9799 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.9707, allocations: 0.9149 MB / 0.9808 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.9727, allocations: 0.7126 MB / 0.9815 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002325/0.9751, allocations: 1.491 MB / 0.983 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009589/0.976, allocations: 0.652 MB / 0.9836 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.9799, allocations: 1.717 MB / 0.9853 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.9811, allocations: 0.5022 MB / 0.9858 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.024e-05/0.9812, allocations: 52.84 kB / 0.9858 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.9828, allocations: 0.8751 MB / 0.9867 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.9831, allocations: 270.5 kB / 0.987 GB, free: 12 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.9835, allocations: 390.2 kB / 0.9873 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.9849, allocations: 1.172 MB / 0.9885 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.985, allocations: 4 kB / 0.9885 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.283e-06/0.985, allocations: 0 / 0.9885 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.985, allocations: 1.219 kB / 0.9885 GB, free: 11.06 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.001422/0.9864, allocations: 1.054 MB / 0.9895 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.9865, allocations: 8.781 kB / 0.9895 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000942/0.9874, allocations: 194.2 kB / 0.9897 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/0.9883, allocations: 0.543 MB / 0.9902 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.9883, allocations: 46.59 kB / 0.9903 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.9884, allocations: 54 kB / 0.9903 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.9895, allocations: 0.7754 MB / 0.9911 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.9895, allocations: 6.719 kB / 0.9911 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.9896, allocations: 27.78 kB / 0.9911 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.9896, allocations: 29.08 kB / 0.9911 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008241/0.9904, allocations: 459.2 kB / 0.9916 GB, free: 8.766 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.003617/0.9941, allocations: 4.384 MB / 0.9959 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.9942, allocations: 98.33 kB / 0.996 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.9943, allocations: 85.22 kB / 0.996 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.9945, allocations: 89.55 kB / 0.9961 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.9945, allocations: 45.3 kB / 0.9962 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.9945, allocations: 0 / 0.9962 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006586/0.9952, allocations: 233.3 kB / 0.9964 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.9953, allocations: 139.2 kB / 0.9965 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9963, allocations: 0.8441 MB / 0.9973 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.9963, allocations: 33.77 kB / 0.9974 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.9966, allocations: 400.8 kB / 0.9978 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.9967, allocations: 39.44 kB / 0.9978 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.9968, allocations: 91.44 kB / 0.9979 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9969, allocations: 327.3 kB / 0.9982 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.9972, allocations: 112.7 kB / 0.9983 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.9976, allocations: 368.6 kB / 0.9987 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.9982, allocations: 433 kB / 0.9991 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9982, allocations: 6.25 kB / 0.9991 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008683/0.9991, allocations: 0.4938 MB / 0.9996 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.9991, allocations: 10.78 kB / 0.9996 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.9991, allocations: 7.812 kB / 0.9996 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.9991, allocations: 10.28 kB / 0.9996 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.9994, allocations: 95.89 kB / 0.9997 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.9995, allocations: 20.39 kB / 0.9997 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/1, allocations: 108.6 kB / 0.9998 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/1, allocations: 23.53 kB / 0.9998 GB, free: 1.586 MB / 0.7325 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.0002431/1, allocations: 236.6 kB / 1 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/1.001, allocations: 74.12 kB / 1 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/1.001, allocations: 77.72 kB / 1 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.001, allocations: 2.656 kB / 1 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.001, allocations: 0 / 1 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.001, allocations: 1.812 kB / 1 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/1.002, allocations: 1.115 MB / 1.001 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.002, allocations: 2.438 kB / 1.001 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/1.002, allocations: 23.17 kB / 1.001 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.002, allocations: 2.938 kB / 1.001 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/1.002, allocations: 10.59 kB / 1.001 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.002, allocations: 10.41 kB / 1.001 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.002, allocations: 2.906 kB / 1.001 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/1.002, allocations: 264.4 kB / 1.002 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/1.003, allocations: 175.7 kB / 1.002 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.003, allocations: 8.312 kB / 1.002 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/1.003, allocations: 14.92 kB / 1.002 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/1.003, allocations: 24.52 kB / 1.002 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-06/1.003, allocations: 5 kB / 1.002 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007315/1.004, allocations: 0.5825 MB / 1.002 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/1.004, allocations: 0 / 1.002 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005418/1.004, allocations: 157 kB / 1.003 GB, free: 15.53 MB / 0.7481 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.0004542/1.005, allocations: 196.2 kB / 1.003 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004849/1.005, allocations: 242.7 kB / 1.003 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.005, allocations: 0 / 1.003 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.299e-05/1.005, allocations: 52.06 kB / 1.003 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.007, allocations: 387 kB / 1.003 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/1.008, allocations: 1.041 MB / 1.004 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/1.009, allocations: 0.94 MB / 1.005 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000404/1.009, allocations: 146 kB / 1.005 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/1.009, allocations: 44.97 kB / 1.005 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/1.009, allocations: 0 / 1.005 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.02005/1.029, allocations: 11.71 MB / 1.017 GB, free: 7.809 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (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)