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.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.455/2.455, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001465/0.001465, allocations: 211.1 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.455/2.455, allocations: 225.6 MB / 0.6001 GB, free: 3.703 MB / 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.001072/0.001072, allocations: 97.7 kB / 0.7074 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.000479, allocations: 13.38 kB / 0.8242 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 109.1 MB / 0.9308 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9642/1.181, allocations: 170.5 MB / 1.097 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02197/1.203, allocations: 12.22 MB / 1.109 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/1.205, allocations: 26.53 kB / 1.109 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/1.206, allocations: 288.6 kB / 1.11 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003796/1.21, allocations: 0.8938 MB / 1.11 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002721/1.213, allocations: 0.5389 MB / 1.111 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004031/1.217, allocations: 2.41 MB / 1.113 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/1.219, allocations: 0.6491 MB / 1.114 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005089/1.224, allocations: 1.373 MB / 1.115 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/1.226, allocations: 0.6284 MB / 1.116 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003051/1.226, allocations: 33.81 kB / 1.116 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/1.229, allocations: 451.9 kB / 1.116 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007067/1.229, allocations: 344.6 kB / 1.117 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006853/1.23, allocations: 203.7 kB / 1.117 GB, free: 17.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/1.233, allocations: 1.049 MB / 1.118 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.233, allocations: 0 / 1.118 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/1.233, allocations: 0 / 1.118 GB, free: 17.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.475e-05/1.233, allocations: 1.281 kB / 1.118 GB, free: 17.41 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003069/1.236, allocations: 1.062 MB / 1.119 GB, free: 16.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.236, allocations: 11.62 kB / 1.119 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/1.238, allocations: 223.1 kB / 1.119 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/1.24, allocations: 0.6171 MB / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/1.24, allocations: 57.72 kB / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/1.24, allocations: 83 kB / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/1.242, allocations: 0.9397 MB / 1.121 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/1.242, allocations: 3.938 kB / 1.121 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.243, allocations: 37.97 kB / 1.121 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-05/1.243, allocations: 27.31 kB / 1.121 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/1.244, allocations: 0.6123 MB / 1.121 GB, free: 16.05 MB / 0.698 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.007084/1.251, allocations: 4.599 MB / 1.126 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/1.252, allocations: 0.5341 MB / 1.126 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/1.253, allocations: 238.8 kB / 1.127 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/1.253, allocations: 102.2 kB / 1.127 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/1.253, allocations: 48.33 kB / 1.127 GB, free: 12.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 3.457e-06/1.253, allocations: 0 / 1.127 GB, free: 12.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.004463/1.258, allocations: 1.577 MB / 1.128 GB, free: 11.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/1.258, allocations: 111.8 kB / 1.128 GB, free: 11.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/1.259, allocations: 0.7092 MB / 1.129 GB, free: 11.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.259, allocations: 37.33 kB / 1.129 GB, free: 10.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/1.26, allocations: 414.4 kB / 1.13 GB, free: 10.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/1.26, allocations: 158.5 kB / 1.13 GB, free: 10.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/1.26, allocations: 14.03 kB / 1.13 GB, free: 10.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.26, allocations: 387.9 kB / 1.13 GB, free: 10.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/1.261, allocations: 187.5 kB / 1.13 GB, free: 10.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/1.261, allocations: 406.8 kB / 1.131 GB, free: 9.992 MB / 0.698 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.002587/1.264, allocations: 0.6523 MB / 1.131 GB, free: 9.777 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.264, allocations: 3.5 kB / 1.131 GB, free: 9.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001646/1.266, allocations: 0.6605 MB / 1.132 GB, free: 9.594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/1.266, allocations: 8.094 kB / 1.132 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/1.266, allocations: 6.656 kB / 1.132 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/1.266, allocations: 15.44 kB / 1.132 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/1.267, allocations: 121.3 kB / 1.132 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/1.267, allocations: 16.67 kB / 1.132 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.268, allocations: 49.64 kB / 1.132 GB, free: 9.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/1.268, allocations: 33.11 kB / 1.132 GB, free: 9.543 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006354/1.269, allocations: 275.2 kB / 1.133 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/1.269, allocations: 85.25 kB / 1.133 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/1.269, allocations: 89.16 kB / 1.133 GB, free: 9.328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.269, allocations: 9.328 kB / 1.133 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.269, allocations: 1 kB / 1.133 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/1.27, allocations: 0.6961 MB / 1.133 GB, free: 8.836 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003949/1.274, allocations: 1.643 MB / 1.135 GB, free: 7.953 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.274, allocations: 9.406 kB / 1.135 GB, free: 7.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/1.275, allocations: 101.6 kB / 1.135 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/1.275, allocations: 6.469 kB / 1.135 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/1.275, allocations: 14.5 kB / 1.135 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.427e-05/1.275, allocations: 14.23 kB / 1.135 GB, free: 7.922 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.275, allocations: 2.312 kB / 1.135 GB, free: 7.922 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.277, allocations: 0.8767 MB / 1.136 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/1.278, allocations: 213.4 kB / 1.136 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/1.278, allocations: 14.88 kB / 1.136 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/1.279, allocations: 40.16 kB / 1.136 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/1.279, allocations: 41.53 kB / 1.136 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/1.279, allocations: 21.73 kB / 1.136 GB, free: 7.336 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009589/1.28, allocations: 0.5032 MB / 1.137 GB, free: 7.164 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.413e-06/1.28, allocations: 0 / 1.137 GB, free: 7.164 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001267/1.282, allocations: 204.6 kB / 1.137 GB, free: 7.16 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006728/1.282, allocations: 234.5 kB / 1.137 GB, free: 7.016 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.284, allocations: 460.6 kB / 1.138 GB, free: 6.934 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.284, allocations: 5.25 kB / 1.138 GB, free: 6.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/1.285, allocations: 210.2 kB / 1.138 GB, free: 6.887 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/1.289, allocations: 463.3 kB / 1.138 GB, free: 6.738 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/1.293, allocations: 2 MB / 1.14 GB, free: 5.445 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/1.294, allocations: 1.035 MB / 1.141 GB, free: 4.613 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001327/1.295, allocations: 192.5 kB / 1.141 GB, free: 4.531 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/1.296, allocations: 63.39 kB / 1.141 GB, free: 4.52 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.296, allocations: 4 kB / 1.141 GB, free: 4.516 MB / 0.698 GB Notification: Performance of Templates: time 0.04576/1.342, allocations: 14.08 MB / 1.155 GB, free: 13.68 MB / 0.7136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)