Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8045/0.8045, allocations: 143.8 MB / 159.1 MB, free: 6.527 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.001158/0.001158, allocations: 187.2 kB / 192 MB, free: 6.727 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.462/1.462, allocations: 225.7 MB / 450.4 MB, free: 4.957 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.0009283/0.0009284, allocations: 107.5 kB / 0.5211 GB, free: 1.613 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.001651/0.001651, allocations: 280.9 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004729, allocations: 16.34 kB / 0.6948 GB, free: 59.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1668, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4748/0.6417, allocations: 178.1 MB / 0.9492 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.6567, allocations: 15.43 MB / 0.9643 GB, free: 15.62 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.6581, allocations: 25.94 kB / 0.9643 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.6593, allocations: 340.8 kB / 0.9646 GB, free: 15.43 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.6617, allocations: 0.8617 MB / 0.9655 GB, free: 15.04 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.6635, allocations: 0.6127 MB / 0.9661 GB, free: 14.86 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.6656, allocations: 2.093 MB / 0.9681 GB, free: 14.21 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007189/0.6663, allocations: 0.5451 MB / 0.9687 GB, free: 14 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.6699, allocations: 1.584 MB / 0.9702 GB, free: 13.44 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.6714, allocations: 0.493 MB / 0.9707 GB, free: 13.34 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.6715, allocations: 24.66 kB / 0.9707 GB, free: 13.34 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.6733, allocations: 0.9477 MB / 0.9716 GB, free: 13.04 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.6736, allocations: 256.1 kB / 0.9719 GB, free: 12.95 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.674, allocations: 370.7 kB / 0.9722 GB, free: 12.89 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.6756, allocations: 1.168 MB / 0.9734 GB, free: 12.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6757, allocations: 0 / 0.9734 GB, free: 12.3 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6757, allocations: 0 / 0.9734 GB, free: 12.3 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.6757, allocations: 0 / 0.9734 GB, free: 12.3 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001328/0.677, allocations: 0.9087 MB / 0.9743 GB, free: 11.58 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6771, allocations: 10.88 kB / 0.9743 GB, free: 11.58 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009072/0.678, allocations: 202.1 kB / 0.9745 GB, free: 11.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007471/0.6787, allocations: 0.5234 MB / 0.975 GB, free: 11.12 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/0.6791, allocations: 109.1 kB / 0.9751 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.6792, allocations: 57.75 kB / 0.9751 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.6803, allocations: 0.7665 MB / 0.9759 GB, free: 10.67 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.6803, allocations: 3.938 kB / 0.9759 GB, free: 10.67 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.6804, allocations: 30.81 kB / 0.9759 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.6804, allocations: 28.86 kB / 0.9759 GB, free: 10.65 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008259/0.6812, allocations: 467.8 kB / 0.9764 GB, free: 10.55 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.003485/0.6847, allocations: 4.173 MB / 0.9805 GB, free: 7.031 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.6848, allocations: 104.3 kB / 0.9806 GB, free: 6.926 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-05/0.6849, allocations: 67.94 kB / 0.9806 GB, free: 6.887 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.6851, allocations: 105.4 kB / 0.9807 GB, free: 6.781 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.6852, allocations: 37.91 kB / 0.9808 GB, free: 6.738 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 2.415e-06/0.6852, allocations: 0 / 0.9808 GB, free: 6.738 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0005892/0.6858, allocations: 244.4 kB / 0.981 GB, free: 6.633 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.6858, allocations: 128.5 kB / 0.9811 GB, free: 6.477 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000931/0.6868, allocations: 0.8366 MB / 0.9819 GB, free: 6.207 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.6868, allocations: 28.27 kB / 0.982 GB, free: 6.176 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.6871, allocations: 396.7 kB / 0.9823 GB, free: 5.965 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.6871, allocations: 35.27 kB / 0.9824 GB, free: 5.941 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.6871, allocations: 7.406 kB / 0.9824 GB, free: 5.941 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6872, allocations: 326.7 kB / 0.9827 GB, free: 5.629 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.6875, allocations: 115.3 kB / 0.9828 GB, free: 5.602 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.6879, allocations: 352.5 kB / 0.9831 GB, free: 5.277 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.6885, allocations: 421.9 kB / 0.9835 GB, free: 4.949 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6885, allocations: 2.531 kB / 0.9835 GB, free: 4.949 MB / 0.573 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008019/0.6893, allocations: 496.4 kB / 0.984 GB, free: 4.773 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6893, allocations: 8.031 kB / 0.984 GB, free: 4.773 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6893, allocations: 5.656 kB / 0.984 GB, free: 4.773 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.6894, allocations: 11.75 kB / 0.984 GB, free: 4.773 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.6897, allocations: 97.48 kB / 0.9841 GB, free: 4.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.6897, allocations: 11.88 kB / 0.9841 GB, free: 4.746 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/0.6904, allocations: 133.7 kB / 0.9843 GB, free: 4.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.6904, allocations: 34.8 kB / 0.9843 GB, free: 4.668 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.000226/0.6906, allocations: 221.6 kB / 0.9845 GB, free: 4.535 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.6908, allocations: 70.66 kB / 0.9846 GB, free: 4.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.741e-05/0.6909, allocations: 70.23 kB / 0.9846 GB, free: 4.477 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.6909, allocations: 2.906 kB / 0.9847 GB, free: 4.477 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6909, allocations: 0 / 0.9847 GB, free: 4.477 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6909, allocations: 2.125 kB / 0.9847 GB, free: 4.477 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.6921, allocations: 1.134 MB / 0.9858 GB, free: 3.613 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6921, allocations: 2.781 kB / 0.9858 GB, free: 3.613 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.6922, allocations: 17.14 kB / 0.9858 GB, free: 3.609 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6922, allocations: 3.344 kB / 0.9858 GB, free: 3.609 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6922, allocations: 6.5 kB / 0.9858 GB, free: 3.609 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.6922, allocations: 6.719 kB / 0.9858 GB, free: 3.605 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6922, allocations: 2.625 kB / 0.9858 GB, free: 3.605 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.6925, allocations: 265.9 kB / 0.9861 GB, free: 3.406 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.6927, allocations: 169.6 kB / 0.9862 GB, free: 3.262 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.6927, allocations: 2.781 kB / 0.9862 GB, free: 3.262 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.6931, allocations: 27.78 kB / 0.9862 GB, free: 3.254 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.6931, allocations: 17.66 kB / 0.9863 GB, free: 3.242 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.6931, allocations: 12.31 kB / 0.9863 GB, free: 3.238 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006938/0.6938, allocations: 0.5797 MB / 0.9868 GB, free: 3.051 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6938, allocations: 0 / 0.9868 GB, free: 3.051 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004837/0.6943, allocations: 161.1 kB / 0.987 GB, free: 3.031 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004011/0.6947, allocations: 207 kB / 0.9872 GB, free: 2.898 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.6952, allocations: 237.6 kB / 0.9874 GB, free: 2.836 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6952, allocations: 0 / 0.9874 GB, free: 2.836 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/0.6953, allocations: 49.62 kB / 0.9875 GB, free: 2.82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.697, allocations: 362.6 kB / 0.9878 GB, free: 2.707 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.6985, allocations: 1.284 MB / 0.9891 GB, free: 1.852 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.699, allocations: 0.9364 MB / 0.99 GB, free: 1.051 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005133/0.6996, allocations: 151.3 kB / 0.9901 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.6997, allocations: 45.88 kB / 0.9902 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of SimCode: time 3.51e-07/0.6997, allocations: 0 / 0.9902 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of Templates: time 0.0201/0.7198, allocations: 11.44 MB / 1.001 GB, free: 10.19 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)