Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008498/0.0008501, allocations: 181.8 kB / 16.08 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4473/0.4473, allocations: 89.08 MB / 105.9 MB, free: 12.45 MB / 90.72 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.266/1.266, allocations: 225.7 MB / 353.2 MB, free: 1.078 MB / 282.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.0007582/0.0007581, allocations: 94.45 kB / 425.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004136, allocations: 16 kB / 0.4955 GB, free: 4.551 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.299, allocations: 71.33 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4063/0.7053, allocations: 178.2 MB / 0.7393 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.718, allocations: 15.49 MB / 0.7544 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009582/0.719, allocations: 26.09 kB / 0.7544 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009579/0.72, allocations: 350 kB / 0.7547 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.7223, allocations: 1.083 MB / 0.7558 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.7237, allocations: 0.629 MB / 0.7564 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.726, allocations: 2.761 MB / 0.7591 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000876/0.7269, allocations: 0.6968 MB / 0.7598 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.7301, allocations: 1.644 MB / 0.7614 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.7317, allocations: 0.6615 MB / 0.762 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.7318, allocations: 34.44 kB / 0.7621 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.7335, allocations: 0.9488 MB / 0.763 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.7338, allocations: 335.3 kB / 0.7633 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.7343, allocations: 470.3 kB / 0.7638 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.7359, allocations: 1.48 MB / 0.7652 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7359, allocations: 0 / 0.7652 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7359, allocations: 0 / 0.7652 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.7359, allocations: 0 / 0.7652 GB, free: 7.742 MB / 0.5105 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.001431/0.7374, allocations: 1.043 MB / 0.7662 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7374, allocations: 9.594 kB / 0.7662 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.7385, allocations: 215.1 kB / 0.7664 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.7394, allocations: 0.6387 MB / 0.7671 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.7394, allocations: 60.09 kB / 0.7671 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.7395, allocations: 76.38 kB / 0.7672 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.7407, allocations: 0.921 MB / 0.7681 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.7408, allocations: 2.906 kB / 0.7681 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.7408, allocations: 36.38 kB / 0.7681 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.7409, allocations: 36.64 kB / 0.7682 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009474/0.7418, allocations: 0.6088 MB / 0.7688 GB, free: 6.438 MB / 0.5105 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.003799/0.7456, allocations: 4.585 MB / 0.7732 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.7463, allocations: 0.541 MB / 0.7738 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.7466, allocations: 244.2 kB / 0.774 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.7468, allocations: 101.8 kB / 0.7741 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.7468, allocations: 41.94 kB / 0.7741 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/0.7468, allocations: 0 / 0.7741 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.002505/0.7493, allocations: 1.575 MB / 0.7757 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.7494, allocations: 116.7 kB / 0.7758 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007312/0.7501, allocations: 0.6981 MB / 0.7765 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.7502, allocations: 36.7 kB / 0.7765 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.7505, allocations: 411.6 kB / 0.7769 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.7506, allocations: 163.2 kB / 0.7771 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.7506, allocations: 12.31 kB / 0.7771 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7508, allocations: 391.5 kB / 0.7774 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.7511, allocations: 184.4 kB / 0.7776 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.7515, allocations: 416.6 kB / 0.778 GB, free: 320 kB / 0.5105 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.001965/0.7535, allocations: 1.171 MB / 0.7792 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7535, allocations: 4.922 kB / 0.7792 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000905/0.7544, allocations: 0.6611 MB / 0.7798 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.7544, allocations: 12.28 kB / 0.7798 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.7544, allocations: 14.33 kB / 0.7798 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.7545, allocations: 8.188 kB / 0.7798 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.7549, allocations: 125.5 kB / 0.78 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.7549, allocations: 14.39 kB / 0.78 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.7556, allocations: 56.25 kB / 0.78 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.7556, allocations: 26.28 kB / 0.7801 GB, free: 15.64 MB / 0.5261 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.0003961/0.756, allocations: 272.3 kB / 0.7803 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.7562, allocations: 79.59 kB / 0.7804 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.7563, allocations: 96.08 kB / 0.7805 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7564, allocations: 6.156 kB / 0.7805 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.7564, allocations: 0 / 0.7805 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000633/0.757, allocations: 0.696 MB / 0.7812 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.7591, allocations: 1.628 MB / 0.7828 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.7591, allocations: 4.188 kB / 0.7828 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.7596, allocations: 103 kB / 0.7829 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.7596, allocations: 6.125 kB / 0.7829 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.7597, allocations: 24.3 kB / 0.7829 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.7597, allocations: 6.312 kB / 0.7829 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.7597, allocations: 8.219 kB / 0.7829 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.7606, allocations: 0.8882 MB / 0.7838 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.761, allocations: 208.6 kB / 0.784 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/0.7611, allocations: 18.19 kB / 0.784 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.7615, allocations: 39.38 kB / 0.784 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.7616, allocations: 41.12 kB / 0.7841 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.7616, allocations: 22.33 kB / 0.7841 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005562/0.7622, allocations: 0.5011 MB / 0.7846 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7622, allocations: 0 / 0.7846 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007385/0.7629, allocations: 203.2 kB / 0.7848 GB, free: 13.32 MB / 0.5261 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.0004118/0.7634, allocations: 217 kB / 0.785 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007139/0.7641, allocations: 462.4 kB / 0.7854 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7641, allocations: 7.125 kB / 0.7854 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.7644, allocations: 206.4 kB / 0.7856 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.7665, allocations: 455.9 kB / 0.786 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.7689, allocations: 2.009 MB / 0.788 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.7697, allocations: 1.028 MB / 0.789 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007845/0.7704, allocations: 202.8 kB / 0.7892 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.7706, allocations: 70.42 kB / 0.7893 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.7706, allocations: 0 / 0.7893 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.02471/0.7953, allocations: 14.41 MB / 0.8033 GB, free: 12.53 MB / 0.5417 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)