Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7419/0.7419, allocations: 143.8 MB / 159.1 MB, free: 6.484 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.001046/0.001046, allocations: 191.3 kB / 192 MB, free: 6.707 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.354/1.354, allocations: 225.7 MB / 450.4 MB, free: 5.016 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.0008547/0.0008547, allocations: 99.53 kB / 0.5211 GB, free: 1.68 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.001633/0.001634, allocations: 290.5 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 17.28 kB / 0.6948 GB, free: 59.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1636, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5627/0.7263, allocations: 181.4 MB / 0.9524 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009972/0.7363, allocations: 7.661 MB / 0.9599 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.7377, allocations: 28.44 kB / 0.9599 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.7392, allocations: 0.4922 MB / 0.9604 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.7432, allocations: 1.512 MB / 0.9619 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.7468, allocations: 1.075 MB / 0.963 GB, free: 15.65 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004569/0.7514, allocations: 3.467 MB / 0.9663 GB, free: 14.6 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.7527, allocations: 0.8211 MB / 0.9671 GB, free: 14.29 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.7546, allocations: 0.8873 MB / 0.968 GB, free: 14.05 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.7566, allocations: 0.8057 MB / 0.9688 GB, free: 13.86 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.7567, allocations: 41.72 kB / 0.9688 GB, free: 13.86 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.7601, allocations: 1.672 MB / 0.9705 GB, free: 13.36 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000511/0.7606, allocations: 422 kB / 0.9709 GB, free: 13.22 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007493/0.7614, allocations: 0.5714 MB / 0.9714 GB, free: 13.06 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.7643, allocations: 2.114 MB / 0.9735 GB, free: 12.05 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7643, allocations: 0 / 0.9735 GB, free: 12.05 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7643, allocations: 0 / 0.9735 GB, free: 12.05 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.7644, allocations: 3.156 kB / 0.9735 GB, free: 12.05 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002023/0.7664, allocations: 1.239 MB / 0.9747 GB, free: 11.17 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.7664, allocations: 12.34 kB / 0.9747 GB, free: 11.16 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.7683, allocations: 344.6 kB / 0.975 GB, free: 11.03 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.7695, allocations: 0.7688 MB / 0.9758 GB, free: 10.58 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.7698, allocations: 126.1 kB / 0.9759 GB, free: 10.55 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.7699, allocations: 90.16 kB / 0.976 GB, free: 10.55 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.7719, allocations: 1.065 MB / 0.977 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.772, allocations: 0 / 0.977 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.7721, allocations: 38.94 kB / 0.9771 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-05/0.7721, allocations: 32.72 kB / 0.9771 GB, free: 10.21 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.7737, allocations: 0.8451 MB / 0.9779 GB, free: 10.05 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.005658/0.7794, allocations: 4.057 MB / 0.9819 GB, free: 7.414 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.7799, allocations: 376.6 kB / 0.9823 GB, free: 7.34 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.7802, allocations: 211.6 kB / 0.9825 GB, free: 7.305 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.7804, allocations: 101.8 kB / 0.9826 GB, free: 7.203 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.7804, allocations: 43.61 kB / 0.9826 GB, free: 7.16 MB / 0.573 GB Notification: Performance of pre-optimization done (n=36): time 4.088e-06/0.7804, allocations: 7.922 kB / 0.9826 GB, free: 7.152 MB / 0.573 GB Notification: Performance of matching and sorting (n=38): time 0.002461/0.7829, allocations: 1.32 MB / 0.9839 GB, free: 6.59 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.7829, allocations: 60.44 kB / 0.984 GB, free: 6.523 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.7842, allocations: 0.9819 MB / 0.9849 GB, free: 6.211 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.7842, allocations: 41.77 kB / 0.9849 GB, free: 6.176 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.7846, allocations: 485.8 kB / 0.9854 GB, free: 5.934 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.7847, allocations: 140 kB / 0.9855 GB, free: 5.836 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.7847, allocations: 17.69 kB / 0.9856 GB, free: 5.828 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7849, allocations: 329.7 kB / 0.9859 GB, free: 5.516 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.7853, allocations: 234.9 kB / 0.9861 GB, free: 5.477 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.7858, allocations: 416.5 kB / 0.9865 GB, free: 5.223 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/0.7881, allocations: 1.191 MB / 0.9877 GB, free: 4.754 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7881, allocations: 6.688 kB / 0.9877 GB, free: 4.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001264/0.7894, allocations: 0.7527 MB / 0.9884 GB, free: 4.547 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7894, allocations: 5.781 kB / 0.9884 GB, free: 4.547 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.7895, allocations: 9.031 kB / 0.9884 GB, free: 4.543 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.7895, allocations: 8.312 kB / 0.9884 GB, free: 4.543 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.79, allocations: 145 kB / 0.9886 GB, free: 4.512 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.7901, allocations: 8.781 kB / 0.9886 GB, free: 4.512 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.7911, allocations: 94.25 kB / 0.9887 GB, free: 4.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.7911, allocations: 28.98 kB / 0.9887 GB, free: 4.477 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0004757/0.7916, allocations: 313.8 kB / 0.989 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.7918, allocations: 96.22 kB / 0.9891 GB, free: 4.273 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.7919, allocations: 105.3 kB / 0.9892 GB, free: 4.246 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.7919, allocations: 5 kB / 0.9892 GB, free: 4.246 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.792, allocations: 4 kB / 0.9892 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006138/0.7926, allocations: 0.6701 MB / 0.9898 GB, free: 3.758 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.7948, allocations: 1.579 MB / 0.9914 GB, free: 2.984 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7948, allocations: 10.48 kB / 0.9914 GB, free: 2.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.7952, allocations: 87.16 kB / 0.9915 GB, free: 2.965 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.7952, allocations: 5.781 kB / 0.9915 GB, free: 2.965 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.7953, allocations: 15.39 kB / 0.9915 GB, free: 2.961 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.507e-06/0.7953, allocations: 13.91 kB / 0.9915 GB, free: 2.953 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.7953, allocations: 4.812 kB / 0.9915 GB, free: 2.953 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009497/0.7963, allocations: 0.844 MB / 0.9923 GB, free: 2.555 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.7966, allocations: 232.5 kB / 0.9926 GB, free: 2.391 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.7968, allocations: 18.88 kB / 0.9926 GB, free: 2.387 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.7974, allocations: 64.61 kB / 0.9926 GB, free: 2.363 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.7975, allocations: 37.41 kB / 0.9927 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.7976, allocations: 27.14 kB / 0.9927 GB, free: 2.34 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009298/0.7985, allocations: 0.7027 MB / 0.9934 GB, free: 2.113 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7985, allocations: 0 / 0.9934 GB, free: 2.113 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008345/0.7994, allocations: 251.8 kB / 0.9936 GB, free: 2.109 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0004945/0.7999, allocations: 217.8 kB / 0.9938 GB, free: 1.973 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008659/0.8007, allocations: 495.5 kB / 0.9943 GB, free: 1.883 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8008, allocations: 3.75 kB / 0.9943 GB, free: 1.883 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.801, allocations: 191.1 kB / 0.9945 GB, free: 1.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.8039, allocations: 0.613 MB / 0.9951 GB, free: 1.605 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.8068, allocations: 2.236 MB / 0.9973 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.8075, allocations: 1.101 MB / 0.9984 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009568/0.8084, allocations: 244.4 kB / 0.9986 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.8086, allocations: 71.44 kB / 0.9987 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of SimCode: time 2.474e-06/0.8086, allocations: 3.938 kB / 0.9987 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of Templates: time 0.03157/0.8402, allocations: 19.29 MB / 1.017 GB, free: 11.09 MB / 0.6042 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)