Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 103.7 kB / 16.94 MB, free: 6.191 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.001044/0.001044, allocations: 191.6 kB / 17.86 MB, free: 5.293 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.325/1.325, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7693/0.7693, allocations: 122.9 MB / 414.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 71.84 kB / 0.4917 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3731, allocations: 77.91 MB / 0.5678 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5748/0.948, allocations: 187.3 MB / 0.7507 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.9658, allocations: 13.07 MB / 0.7635 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.9674, allocations: 30.75 kB / 0.7635 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.9688, allocations: 424.9 kB / 0.7639 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.9721, allocations: 1.16 MB / 0.765 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.9744, allocations: 0.7009 MB / 0.7657 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003548/0.978, allocations: 2.015 MB / 0.7677 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.9794, allocations: 0.8433 MB / 0.7685 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004656/0.9841, allocations: 1.809 MB / 0.7703 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.986, allocations: 0.6658 MB / 0.7709 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.9862, allocations: 80.06 kB / 0.771 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.9885, allocations: 0.8658 MB / 0.7718 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004847/0.989, allocations: 386.9 kB / 0.7722 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007909/0.9898, allocations: 0.4997 MB / 0.7727 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.9926, allocations: 1.476 MB / 0.7741 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9926, allocations: 1 kB / 0.7741 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9926, allocations: 3.906 kB / 0.7741 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.9927, allocations: 0 / 0.7741 GB, free: 1.422 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002158/0.9948, allocations: 1.223 MB / 0.7753 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.9949, allocations: 10.31 kB / 0.7753 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.9961, allocations: 218.4 kB / 0.7756 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.9971, allocations: 0.6433 MB / 0.7762 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.9972, allocations: 62.34 kB / 0.7762 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.9974, allocations: 80.89 kB / 0.7763 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.9987, allocations: 0.9309 MB / 0.7772 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.9987, allocations: 5.188 kB / 0.7772 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.9988, allocations: 37.31 kB / 0.7773 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/0.9989, allocations: 30.61 kB / 0.7773 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/0.9998, allocations: 0.6157 MB / 0.7779 GB, free: 16.11 MB / 0.5919 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.004667/1.004, allocations: 4.604 MB / 0.7824 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/1.005, allocations: 0.5383 MB / 0.7829 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/1.006, allocations: 250.3 kB / 0.7832 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/1.006, allocations: 103.5 kB / 0.7833 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/1.006, allocations: 41.72 kB / 0.7833 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/1.006, allocations: 1.797 kB / 0.7833 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002583/1.008, allocations: 1.594 MB / 0.7849 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/1.009, allocations: 112.3 kB / 0.785 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/1.009, allocations: 0.7118 MB / 0.7857 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/1.009, allocations: 39.42 kB / 0.7857 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/1.01, allocations: 411.6 kB / 0.7861 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/1.01, allocations: 165.2 kB / 0.7862 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/1.01, allocations: 121.7 kB / 0.7864 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.01, allocations: 331.4 kB / 0.7867 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/1.01, allocations: 185.9 kB / 0.7869 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/1.011, allocations: 415.6 kB / 0.7873 GB, free: 10.86 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/1.013, allocations: 1.179 MB / 0.7884 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.013, allocations: 8.688 kB / 0.7884 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008845/1.014, allocations: 0.6716 MB / 0.7891 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.014, allocations: 9.656 kB / 0.7891 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.014, allocations: 4.781 kB / 0.7891 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.014, allocations: 11.75 kB / 0.7891 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/1.014, allocations: 126 kB / 0.7892 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/1.014, allocations: 12.77 kB / 0.7892 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/1.015, allocations: 34.52 kB / 0.7893 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/1.015, allocations: 26.2 kB / 0.7893 GB, free: 10.44 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.000365/1.015, allocations: 282.2 kB / 0.7896 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/1.016, allocations: 80.19 kB / 0.7896 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/1.016, allocations: 92.14 kB / 0.7897 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/1.016, allocations: 3.5 kB / 0.7897 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.016, allocations: 2.469 kB / 0.7897 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000658/1.016, allocations: 0.7043 MB / 0.7904 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/1.019, allocations: 1.643 MB / 0.792 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.019, allocations: 2.656 kB / 0.792 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/1.019, allocations: 99.64 kB / 0.7921 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.019, allocations: 5.531 kB / 0.7921 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/1.019, allocations: 15.91 kB / 0.7921 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.019, allocations: 10.72 kB / 0.7921 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.019, allocations: 5.969 kB / 0.7921 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/1.02, allocations: 0.874 MB / 0.793 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/1.02, allocations: 208.7 kB / 0.7932 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/1.021, allocations: 15.34 kB / 0.7932 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/1.021, allocations: 15.58 kB / 0.7932 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/1.021, allocations: 42.66 kB / 0.7933 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/1.021, allocations: 20.09 kB / 0.7933 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005997/1.022, allocations: 0.5081 MB / 0.7938 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/1.022, allocations: 0.9688 kB / 0.7938 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008329/1.023, allocations: 205.8 kB / 0.794 GB, free: 8.656 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.000509/1.023, allocations: 201.7 kB / 0.7942 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007919/1.024, allocations: 0.513 MB / 0.7947 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.024, allocations: 3.188 kB / 0.7947 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/1.024, allocations: 213.8 kB / 0.7949 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/1.026, allocations: 482.3 kB / 0.7953 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/1.029, allocations: 1.738 MB / 0.797 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/1.029, allocations: 1.029 MB / 0.798 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.029, allocations: 65.31 kB / 0.7981 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/1.029, allocations: 0 / 0.7981 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of Templates: time 0.02128/1.051, allocations: 12.9 MB / 0.8107 GB, free: 3.781 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)