Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9406/0.9406, allocations: 143.8 MB / 159.1 MB, free: 6.531 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 183.3 kB / 192 MB, free: 6.734 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.7 MB / 450.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007649/0.000765, allocations: 99.45 kB / 0.5211 GB, free: 1.625 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 278.2 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000723/0.0007232, allocations: 14.03 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1756, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4918/0.6675, allocations: 178.2 MB / 0.9494 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.683, allocations: 15.47 MB / 0.9645 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.6848, allocations: 25.25 kB / 0.9645 GB, free: 15.51 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.6864, allocations: 344.6 kB / 0.9648 GB, free: 15.32 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003506/0.6899, allocations: 1.092 MB / 0.9659 GB, free: 14.83 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.6917, allocations: 0.6281 MB / 0.9665 GB, free: 14.66 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003625/0.6954, allocations: 2.756 MB / 0.9692 GB, free: 13.83 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009996/0.6964, allocations: 0.7082 MB / 0.9699 GB, free: 13.56 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.7002, allocations: 1.65 MB / 0.9715 GB, free: 12.98 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.702, allocations: 0.6512 MB / 0.9722 GB, free: 12.84 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.7021, allocations: 32.81 kB / 0.9722 GB, free: 12.84 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.7041, allocations: 0.961 MB / 0.9731 GB, free: 12.45 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.7044, allocations: 325.1 kB / 0.9734 GB, free: 12.34 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005395/0.705, allocations: 476.2 kB / 0.9739 GB, free: 12.21 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.7067, allocations: 1.47 MB / 0.9753 GB, free: 11.41 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7068, allocations: 0 / 0.9753 GB, free: 11.41 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7068, allocations: 0 / 0.9753 GB, free: 11.41 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.7068, allocations: 0 / 0.9753 GB, free: 11.41 MB / 0.573 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.001544/0.7083, allocations: 1.059 MB / 0.9764 GB, free: 10.62 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.7084, allocations: 8.906 kB / 0.9764 GB, free: 10.62 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.7095, allocations: 215.6 kB / 0.9766 GB, free: 10.53 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009155/0.7104, allocations: 0.6381 MB / 0.9772 GB, free: 10.11 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.7105, allocations: 60.38 kB / 0.9773 GB, free: 10.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.7106, allocations: 80.84 kB / 0.9773 GB, free: 10.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.7118, allocations: 0.9236 MB / 0.9782 GB, free: 9.68 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.7118, allocations: 10.08 kB / 0.9782 GB, free: 9.672 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.7119, allocations: 33.91 kB / 0.9783 GB, free: 9.668 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.7119, allocations: 28.47 kB / 0.9783 GB, free: 9.664 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.7128, allocations: 0.6147 MB / 0.9789 GB, free: 9.543 MB / 0.573 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.004078/0.7169, allocations: 4.582 MB / 0.9834 GB, free: 5.848 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006802/0.7176, allocations: 0.5328 MB / 0.9839 GB, free: 5.625 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.7179, allocations: 245.4 kB / 0.9841 GB, free: 5.566 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.7181, allocations: 97.84 kB / 0.9842 GB, free: 5.469 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.7181, allocations: 40.25 kB / 0.9843 GB, free: 5.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=43): time 2.324e-06/0.7181, allocations: 0 / 0.9843 GB, free: 5.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=45): time 0.002509/0.7206, allocations: 1.574 MB / 0.9858 GB, free: 4.719 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.7207, allocations: 112.3 kB / 0.9859 GB, free: 4.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.7214, allocations: 0.7037 MB / 0.9866 GB, free: 4.348 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.7215, allocations: 34.55 kB / 0.9866 GB, free: 4.316 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.7217, allocations: 420.3 kB / 0.987 GB, free: 4.09 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.7219, allocations: 161.2 kB / 0.9872 GB, free: 3.973 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.7219, allocations: 11.03 kB / 0.9872 GB, free: 3.973 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7221, allocations: 387.8 kB / 0.9876 GB, free: 3.637 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.7223, allocations: 181.9 kB / 0.9877 GB, free: 3.605 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.7227, allocations: 415.1 kB / 0.9881 GB, free: 3.309 MB / 0.573 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.001985/0.7247, allocations: 1.172 MB / 0.9893 GB, free: 2.805 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7247, allocations: 6.5 kB / 0.9893 GB, free: 2.801 MB / 0.573 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008974/0.7257, allocations: 0.6654 MB / 0.9899 GB, free: 2.617 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.7257, allocations: 11.5 kB / 0.9899 GB, free: 2.613 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7257, allocations: 6.25 kB / 0.9899 GB, free: 2.613 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.7257, allocations: 10.84 kB / 0.99 GB, free: 2.613 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.7262, allocations: 128 kB / 0.9901 GB, free: 2.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.7262, allocations: 12.11 kB / 0.9901 GB, free: 2.586 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.7268, allocations: 56.64 kB / 0.9901 GB, free: 2.562 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.7269, allocations: 25.34 kB / 0.9902 GB, free: 2.562 MB / 0.573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0003345/0.7272, allocations: 277.3 kB / 0.9904 GB, free: 2.414 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.7273, allocations: 88.31 kB / 0.9905 GB, free: 2.367 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.7275, allocations: 90.23 kB / 0.9906 GB, free: 2.336 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.7275, allocations: 10 kB / 0.9906 GB, free: 2.332 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.7275, allocations: 0 / 0.9906 GB, free: 2.332 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006466/0.7282, allocations: 0.6919 MB / 0.9913 GB, free: 1.848 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.7304, allocations: 1.631 MB / 0.9929 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7304, allocations: 2.938 kB / 0.9929 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.7308, allocations: 101.7 kB / 0.993 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.7308, allocations: 10.09 kB / 0.993 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.7309, allocations: 13.69 kB / 0.993 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.7309, allocations: 8.125 kB / 0.993 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.7309, allocations: 10.61 kB / 0.993 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/0.7319, allocations: 0.8882 MB / 0.9939 GB, free: 0.5312 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.7322, allocations: 206.5 kB / 0.9941 GB, free: 388 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.7323, allocations: 15.3 kB / 0.9941 GB, free: 384 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.7327, allocations: 41.23 kB / 0.9941 GB, free: 368 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.7328, allocations: 44.11 kB / 0.9942 GB, free: 344 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.7328, allocations: 19.59 kB / 0.9942 GB, free: 344 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005336/0.7334, allocations: 0.5006 MB / 0.9947 GB, free: 172 kB / 0.573 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7334, allocations: 0 / 0.9947 GB, free: 172 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006389/0.734, allocations: 203.7 kB / 0.9949 GB, free: 168 kB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.0004389/0.7345, allocations: 221.9 kB / 0.9951 GB, free: 24 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006881/0.7352, allocations: 456.8 kB / 0.9955 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7352, allocations: 0 / 0.9955 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.7354, allocations: 210.8 kB / 0.9957 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.7377, allocations: 469.9 kB / 0.9962 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.7401, allocations: 2.003 MB / 0.9981 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.7407, allocations: 1.024 MB / 0.9991 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000684/0.7414, allocations: 195.6 kB / 0.9993 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.7416, allocations: 59.75 kB / 0.9994 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.7416, allocations: 0 / 0.9994 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.02462/0.7662, allocations: 14.42 MB / 1.013 GB, free: 15.98 MB / 0.6042 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)