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.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.537/2.537, 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.001364/0.001364, allocations: 196.5 kB / 329.5 MB, free: 1.102 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.37/2.37, allocations: 225.6 MB / 0.6001 GB, free: 2.137 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.0009727/0.0009723, allocations: 100.4 kB / 0.7074 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004974, allocations: 12.06 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.8824/1.092, allocations: 170.4 MB / 1.097 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02263/1.115, allocations: 12.17 MB / 1.109 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/1.116, allocations: 25.88 kB / 1.109 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/1.118, allocations: 277.2 kB / 1.109 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003345/1.121, allocations: 0.7564 MB / 1.11 GB, free: 124 kB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/1.124, allocations: 0.5578 MB / 1.111 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003659/1.128, allocations: 1.785 MB / 1.112 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/1.129, allocations: 0.5267 MB / 1.113 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/1.134, allocations: 1.226 MB / 1.114 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/1.135, allocations: 0.4893 MB / 1.115 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/1.135, allocations: 25.53 kB / 1.115 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/1.137, allocations: 0.5953 MB / 1.115 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004161/1.138, allocations: 241.9 kB / 1.115 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/1.138, allocations: 170.1 kB / 1.116 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/1.14, allocations: 0.8163 MB / 1.116 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.14, allocations: 0 / 1.116 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.893e-06/1.14, allocations: 0 / 1.116 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.14, allocations: 1.156 kB / 1.116 GB, free: 12.25 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002208/1.142, allocations: 0.9206 MB / 1.117 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.142, allocations: 9.219 kB / 1.117 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/1.144, allocations: 198.4 kB / 1.117 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/1.145, allocations: 0.5009 MB / 1.118 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006155/1.145, allocations: 111.4 kB / 1.118 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.146, allocations: 58.12 kB / 1.118 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/1.147, allocations: 0.7634 MB / 1.119 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/1.147, allocations: 6.562 kB / 1.119 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/1.147, allocations: 28.34 kB / 1.119 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/1.148, allocations: 24.56 kB / 1.119 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/1.149, allocations: 473.8 kB / 1.119 GB, free: 10.05 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.008235/1.158, allocations: 4.218 MB / 1.123 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/1.158, allocations: 104 kB / 1.124 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/1.158, allocations: 77.98 kB / 1.124 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/1.159, allocations: 96 kB / 1.124 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/1.159, allocations: 41.28 kB / 1.124 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 3.948e-06/1.159, allocations: 0 / 1.124 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001335/1.16, allocations: 228.2 kB / 1.124 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/1.16, allocations: 132.8 kB / 1.124 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003585/1.164, allocations: 0.8273 MB / 1.125 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/1.164, allocations: 29.7 kB / 1.125 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006843/1.165, allocations: 397.3 kB / 1.125 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/1.165, allocations: 37.41 kB / 1.125 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/1.165, allocations: 15.28 kB / 1.125 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.165, allocations: 320.4 kB / 1.126 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/1.166, allocations: 118.4 kB / 1.126 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.167, allocations: 347.5 kB / 1.126 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009968/1.168, allocations: 172.5 kB / 1.126 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.168, allocations: 0 / 1.126 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002434/1.171, allocations: 490.8 kB / 1.127 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/1.171, allocations: 12.7 kB / 1.127 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.171, allocations: 8.781 kB / 1.127 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/1.171, allocations: 12.28 kB / 1.127 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/1.171, allocations: 92.02 kB / 1.127 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/1.171, allocations: 11.69 kB / 1.127 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.173, allocations: 139.4 kB / 1.127 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.173, allocations: 30.89 kB / 1.127 GB, free: 3.438 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006873/1.174, allocations: 225.6 kB / 1.127 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/1.174, allocations: 72.38 kB / 1.127 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/1.174, allocations: 75.75 kB / 1.127 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.174, allocations: 0 / 1.127 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.174, allocations: 3.094 kB / 1.127 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/1.175, allocations: 0 / 1.127 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/1.178, allocations: 1.108 MB / 1.128 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.178, allocations: 3.156 kB / 1.128 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/1.178, allocations: 21.7 kB / 1.129 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/1.178, allocations: 2.875 kB / 1.129 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/1.178, allocations: 6.906 kB / 1.129 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/1.178, allocations: 5.062 kB / 1.129 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.178, allocations: 0 / 1.129 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/1.179, allocations: 274.5 kB / 1.129 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/1.18, allocations: 170.8 kB / 1.129 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/1.18, allocations: 7.031 kB / 1.129 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/1.181, allocations: 21.02 kB / 1.129 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/1.181, allocations: 20.52 kB / 1.129 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/1.181, allocations: 5.938 kB / 1.129 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002041/1.183, allocations: 0.5783 MB / 1.13 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.41e-07/1.183, allocations: 0 / 1.13 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001461/1.185, allocations: 146.3 kB / 1.13 GB, free: 1.41 MB / 0.6823 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 (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.000758/1.185, allocations: 219.2 kB / 1.13 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001279/1.187, allocations: 242 kB / 1.13 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.187, allocations: 2.562 kB / 1.13 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/1.187, allocations: 40.61 kB / 1.13 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/1.192, allocations: 364.7 kB / 1.131 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/1.195, allocations: 1.24 MB / 1.132 GB, free: 84 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008917/1.196, allocations: 0.9441 MB / 1.133 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001365/1.198, allocations: 138 kB / 1.133 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/1.198, allocations: 46.88 kB / 1.133 GB, free: 15.18 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/1.198, allocations: 3 kB / 1.133 GB, free: 15.18 MB / 0.698 GB Notification: Performance of Templates: time 0.04819/1.246, allocations: 10.88 MB / 1.143 GB, free: 9.391 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)