Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 297.4 MB / 312.6 MB, free: 2.934 MB / 234.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.0009257/0.0009258, allocations: 186 kB / 382.3 MB, free: 14.82 MB / 314.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.349/1.349, allocations: 225.7 MB / 0.6617 GB, free: 7.238 MB / 490.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.0009185/0.0009183, allocations: 98.09 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003337, allocations: 8 kB / 0.9058 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7325/0.7328, allocations: 119.2 MB / 1.022 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.239/0.9719, allocations: 178.3 MB / 1.196 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02714/0.9991, allocations: 15.48 MB / 1.211 GB, free: 11 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/1.001, allocations: 27.81 kB / 1.211 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/1.003, allocations: 339.6 kB / 1.212 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/1.008, allocations: 1.094 MB / 1.213 GB, free: 9.883 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/1.011, allocations: 0.6228 MB / 1.213 GB, free: 9.391 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005259/1.016, allocations: 2.761 MB / 1.216 GB, free: 7.156 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/1.018, allocations: 0.6975 MB / 1.217 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/1.023, allocations: 1.646 MB / 1.218 GB, free: 5.223 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/1.025, allocations: 0.658 MB / 1.219 GB, free: 4.68 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002307/1.025, allocations: 32 kB / 1.219 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/1.028, allocations: 0.9582 MB / 1.22 GB, free: 3.871 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006554/1.028, allocations: 334.4 kB / 1.22 GB, free: 3.641 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/1.029, allocations: 468.8 kB / 1.221 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/1.032, allocations: 1.471 MB / 1.222 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.032, allocations: 0 / 1.222 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.262e-06/1.032, allocations: 0 / 1.222 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.147e-05/1.032, allocations: 0 / 1.222 GB, free: 2.23 MB / 0.7917 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.002065/1.035, allocations: 1.045 MB / 1.223 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/1.035, allocations: 8.031 kB / 1.223 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/1.036, allocations: 217.4 kB / 1.224 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.037, allocations: 0.6409 MB / 1.224 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/1.037, allocations: 58 kB / 1.224 GB, free: 404 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.037, allocations: 76.7 kB / 1.224 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/1.039, allocations: 0.9212 MB / 1.225 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/1.039, allocations: 8.547 kB / 1.225 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/1.039, allocations: 35.94 kB / 1.225 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/1.039, allocations: 26.58 kB / 1.225 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/1.04, allocations: 0.6163 MB / 1.226 GB, free: 14.86 MB / 0.8073 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.004869/1.045, allocations: 4.583 MB / 1.23 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/1.046, allocations: 0.5289 MB / 1.231 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/1.046, allocations: 249.2 kB / 1.231 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/1.047, allocations: 100.9 kB / 1.231 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/1.047, allocations: 47.16 kB / 1.231 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/1.047, allocations: 0 / 1.231 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of matching and sorting (n=45): time 0.00294/1.05, allocations: 1.579 MB / 1.233 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/1.05, allocations: 114.8 kB / 1.233 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/1.051, allocations: 0.6959 MB / 1.234 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/1.051, allocations: 37.7 kB / 1.234 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/1.051, allocations: 420 kB / 1.234 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/1.051, allocations: 161.7 kB / 1.234 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/1.051, allocations: 8 kB / 1.234 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.051, allocations: 386.8 kB / 1.235 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/1.052, allocations: 185.2 kB / 1.235 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/1.052, allocations: 414.8 kB / 1.235 GB, free: 5.398 MB / 0.8073 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.00214/1.054, allocations: 1.17 MB / 1.236 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.054, allocations: 0 / 1.236 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001086/1.055, allocations: 0.6717 MB / 1.237 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.055, allocations: 8 kB / 1.237 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.055, allocations: 4 kB / 1.237 GB, free: 3.434 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.055, allocations: 12 kB / 1.237 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/1.056, allocations: 119.8 kB / 1.237 GB, free: 3.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.97e-05/1.056, allocations: 19.92 kB / 1.237 GB, free: 3.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/1.057, allocations: 47.72 kB / 1.237 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/1.057, allocations: 35.98 kB / 1.237 GB, free: 3.207 MB / 0.8073 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.0004454/1.057, allocations: 270.2 kB / 1.237 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/1.057, allocations: 83 kB / 1.237 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/1.058, allocations: 83.59 kB / 1.238 GB, free: 2.766 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.058, allocations: 8 kB / 1.238 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.058, allocations: 7.984 kB / 1.238 GB, free: 2.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007442/1.058, allocations: 0.6998 MB / 1.238 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/1.061, allocations: 1.632 MB / 1.24 GB, free: 232 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.061, allocations: 4 kB / 1.24 GB, free: 228 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/1.062, allocations: 107.8 kB / 1.24 GB, free: 120 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/1.062, allocations: 4 kB / 1.24 GB, free: 116 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/1.062, allocations: 15.94 kB / 1.24 GB, free: 100 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/1.062, allocations: 11.94 kB / 1.24 GB, free: 88 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.062, allocations: 4 kB / 1.24 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.063, allocations: 0.8891 MB / 1.241 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/1.063, allocations: 212 kB / 1.241 GB, free: 14.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/1.064, allocations: 15.98 kB / 1.241 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/1.064, allocations: 37.86 kB / 1.241 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/1.064, allocations: 47.83 kB / 1.241 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/1.064, allocations: 20 kB / 1.241 GB, free: 14.79 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008536/1.065, allocations: 0.499 MB / 1.242 GB, free: 14.29 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.065, allocations: 0 / 1.242 GB, free: 14.29 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009485/1.066, allocations: 208 kB / 1.242 GB, free: 14.09 MB / 0.823 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.0006407/1.067, allocations: 224.2 kB / 1.242 GB, free: 13.88 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008908/1.068, allocations: 464.5 kB / 1.243 GB, free: 13.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.068, allocations: 4 kB / 1.243 GB, free: 13.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/1.068, allocations: 207.9 kB / 1.243 GB, free: 13.22 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.071, allocations: 460.3 kB / 1.243 GB, free: 12.78 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/1.074, allocations: 2.003 MB / 1.245 GB, free: 10.69 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/1.074, allocations: 1.028 MB / 1.246 GB, free: 9.637 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0009044/1.075, allocations: 202.9 kB / 1.246 GB, free: 9.434 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/1.076, allocations: 67.42 kB / 1.246 GB, free: 9.367 MB / 0.823 GB Notification: Performance of SimCode: time 1.403e-06/1.076, allocations: 7.938 kB / 1.246 GB, free: 9.359 MB / 0.823 GB Notification: Performance of Templates: time 0.02594/1.102, allocations: 14.42 MB / 1.26 GB, free: 11.18 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)