Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.488/2.488, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.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.001416/0.001416, allocations: 199.8 kB / 329.5 MB, free: 1.145 MB / 250.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 2.405/2.405, allocations: 225.6 MB / 0.6001 GB, free: 408 kB / 426.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.001389/0.001389, allocations: 106.1 kB / 0.7074 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007277/0.0007278, allocations: 11.38 kB / 0.8242 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2697, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 1.005/1.274, allocations: 173.6 MB / 1.1 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0137/1.288, allocations: 5.457 MB / 1.106 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/1.29, allocations: 32.66 kB / 1.106 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/1.292, allocations: 415.8 kB / 1.106 GB, free: 3.133 MB / 0.6667 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006386/1.299, allocations: 1.421 MB / 1.107 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004328/1.303, allocations: 0.8694 MB / 1.108 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007132/1.31, allocations: 3.681 MB / 1.112 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/1.312, allocations: 0.8928 MB / 1.113 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/1.315, allocations: 0.9498 MB / 1.114 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/1.318, allocations: 0.9422 MB / 1.115 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003857/1.318, allocations: 52.25 kB / 1.115 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/1.322, allocations: 0.7108 MB / 1.115 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/1.324, allocations: 0.5127 MB / 1.116 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007709/1.324, allocations: 293.5 kB / 1.116 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003777/1.328, allocations: 1.701 MB / 1.118 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.328, allocations: 0 / 1.118 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/1.328, allocations: 0 / 1.118 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.394e-05/1.328, allocations: 0 / 1.118 GB, free: 11.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.004073/1.332, allocations: 1.415 MB / 1.119 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.332, allocations: 8.031 kB / 1.119 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/1.335, allocations: 330.8 kB / 1.119 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/1.338, allocations: 0.8457 MB / 1.12 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-05/1.338, allocations: 77.42 kB / 1.12 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/1.338, allocations: 97.91 kB / 1.12 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/1.342, allocations: 1.115 MB / 1.122 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/1.342, allocations: 0 / 1.122 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/1.342, allocations: 47.02 kB / 1.122 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/1.342, allocations: 41.38 kB / 1.122 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/1.345, allocations: 1.002 MB / 1.123 GB, free: 8.691 MB / 0.6823 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.01037/1.355, allocations: 4.293 MB / 1.127 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.357, allocations: 0.5857 MB / 1.127 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/1.358, allocations: 350.2 kB / 1.128 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/1.358, allocations: 102.1 kB / 1.128 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.816e-05/1.358, allocations: 58.91 kB / 1.128 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.016e-06/1.358, allocations: 0 / 1.128 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55): time 0.006958/1.365, allocations: 2.207 MB / 1.13 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/1.365, allocations: 56.56 kB / 1.13 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/1.367, allocations: 0.8964 MB / 1.131 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/1.367, allocations: 38.7 kB / 1.131 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/1.368, allocations: 0.5128 MB / 1.131 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/1.368, allocations: 201.8 kB / 1.132 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/1.368, allocations: 16.59 kB / 1.132 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.368, allocations: 332.2 kB / 1.132 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008284/1.369, allocations: 278.7 kB / 1.132 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009975/1.37, allocations: 456.8 kB / 1.133 GB, free: 1.082 MB / 0.6823 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.004701/1.375, allocations: 1.047 MB / 1.134 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.375, allocations: 2.938 kB / 1.134 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002603/1.377, allocations: 0.9218 MB / 1.135 GB, free: 44 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.378, allocations: 11.62 kB / 1.135 GB, free: 40 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.378, allocations: 3.875 kB / 1.135 GB, free: 40 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/1.378, allocations: 101.4 kB / 1.135 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.379, allocations: 177.8 kB / 1.135 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/1.385, allocations: 4.288 MB / 1.139 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.387, allocations: 80.67 kB / 1.139 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.387, allocations: 30.06 kB / 1.139 GB, free: 11.62 MB / 0.698 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: 19 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009949/1.388, allocations: 360.1 kB / 1.14 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/1.388, allocations: 102.6 kB / 1.14 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/1.389, allocations: 110 kB / 1.14 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.389, allocations: 9.062 kB / 1.14 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.389, allocations: 0 / 1.14 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001867/1.391, allocations: 0.7593 MB / 1.141 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005761/1.397, allocations: 2.016 MB / 1.142 GB, free: 9.328 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.397, allocations: 6.562 kB / 1.142 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.398, allocations: 160.3 kB / 1.143 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/1.398, allocations: 38.94 kB / 1.143 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/1.398, allocations: 20.3 kB / 1.143 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.4, allocations: 1.482 MB / 1.144 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.4, allocations: 2.125 kB / 1.144 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/1.404, allocations: 1.232 MB / 1.145 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.405, allocations: 271.8 kB / 1.146 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/1.405, allocations: 12 kB / 1.146 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/1.407, allocations: 100 kB / 1.146 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/1.407, allocations: 43.89 kB / 1.146 GB, free: 6.176 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.407, allocations: 35.97 kB / 1.146 GB, free: 6.141 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001415/1.409, allocations: 0.6167 MB / 1.146 GB, free: 5.512 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.31e-07/1.409, allocations: 0 / 1.146 GB, free: 5.512 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001816/1.41, allocations: 312 kB / 1.147 GB, free: 5.207 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007059/1.411, allocations: 207 kB / 1.147 GB, free: 5.004 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002682/1.414, allocations: 0.9994 MB / 1.148 GB, free: 3.965 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.414, allocations: 0 / 1.148 GB, free: 3.965 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/1.415, allocations: 446.5 kB / 1.148 GB, free: 3.516 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006549/1.422, allocations: 0.6415 MB / 1.149 GB, free: 2.879 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/1.429, allocations: 2.551 MB / 1.151 GB, free: 264 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/1.431, allocations: 1.178 MB / 1.153 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002509/1.433, allocations: 248.4 kB / 1.153 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/1.434, allocations: 79.42 kB / 1.153 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of SimCode: time 1.322e-06/1.434, allocations: 3.938 kB / 1.153 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of Templates: time 0.07523/1.509, allocations: 21.24 MB / 1.174 GB, free: 9.855 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)