Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.684/1.684, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.0009511/0.0009511, allocations: 183.5 kB / 393.1 MB, free: 4.086 MB / 314.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.455/1.455, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008108/0.0008111, allocations: 98.72 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 16 kB / 0.9224 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6779/0.6783, allocations: 121.3 MB / 1.041 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2013/0.8796, allocations: 178.3 MB / 1.215 GB, free: 208 kB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.8983, allocations: 15.48 MB / 1.23 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.8996, allocations: 27.81 kB / 1.23 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.9013, allocations: 347.4 kB / 1.23 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004229/0.9055, allocations: 1.083 MB / 1.231 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.9079, allocations: 0.6198 MB / 1.232 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004392/0.9123, allocations: 2.767 MB / 1.235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.9138, allocations: 0.7062 MB / 1.235 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/0.9188, allocations: 1.642 MB / 1.237 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.9211, allocations: 0.6459 MB / 1.238 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.9214, allocations: 40 kB / 1.238 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.9239, allocations: 0.9585 MB / 1.239 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.9244, allocations: 323 kB / 1.239 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0009624/0.9254, allocations: 479.3 kB / 1.239 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.9281, allocations: 1.472 MB / 1.241 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9282, allocations: 0 / 1.241 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9282, allocations: 0 / 1.241 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.949e-05/0.9282, allocations: 0 / 1.241 GB, free: 6.965 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002378/0.9306, allocations: 1.048 MB / 1.242 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.9307, allocations: 8.031 kB / 1.242 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.9323, allocations: 222.6 kB / 1.242 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.9338, allocations: 0.6325 MB / 1.243 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/0.9338, allocations: 54 kB / 1.243 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.934, allocations: 80 kB / 1.243 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.9357, allocations: 0.9249 MB / 1.244 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.9358, allocations: 7.938 kB / 1.244 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-05/0.9359, allocations: 31.94 kB / 1.244 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.9359, allocations: 25.31 kB / 1.244 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.937, allocations: 0.6138 MB / 1.244 GB, free: 3.145 MB / 0.8073 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.004744/0.9417, allocations: 4.597 MB / 1.249 GB, free: 14.25 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.9425, allocations: 0.5306 MB / 1.249 GB, free: 13.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.9428, allocations: 250.4 kB / 1.25 GB, free: 13.42 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.943, allocations: 101.1 kB / 1.25 GB, free: 13.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.9431, allocations: 38.56 kB / 1.25 GB, free: 13.26 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 2.375e-06/0.9431, allocations: 0 / 1.25 GB, free: 13.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.002702/0.9458, allocations: 1.577 MB / 1.251 GB, free: 11.62 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.9458, allocations: 110.8 kB / 1.251 GB, free: 11.49 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/0.9466, allocations: 0.6998 MB / 1.252 GB, free: 10.79 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.9467, allocations: 37.7 kB / 1.252 GB, free: 10.74 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.947, allocations: 411.8 kB / 1.253 GB, free: 10.34 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.9472, allocations: 169.6 kB / 1.253 GB, free: 10.17 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.9472, allocations: 12.06 kB / 1.253 GB, free: 10.16 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.9474, allocations: 386.8 kB / 1.253 GB, free: 9.77 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.9476, allocations: 185.2 kB / 1.253 GB, free: 9.59 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.9481, allocations: 413 kB / 1.254 GB, free: 9.09 MB / 0.823 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.002113/0.9502, allocations: 1.166 MB / 1.255 GB, free: 7.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9502, allocations: 0 / 1.255 GB, free: 7.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009576/0.9512, allocations: 0.6679 MB / 1.256 GB, free: 7.145 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.9512, allocations: 8 kB / 1.256 GB, free: 7.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.9512, allocations: 8 kB / 1.256 GB, free: 7.129 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.9513, allocations: 8 kB / 1.256 GB, free: 7.121 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.9517, allocations: 131.8 kB / 1.256 GB, free: 6.992 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.9517, allocations: 11.94 kB / 1.256 GB, free: 6.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.9523, allocations: 53.31 kB / 1.256 GB, free: 6.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.9524, allocations: 32 kB / 1.256 GB, free: 6.898 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003586/0.9528, allocations: 269.6 kB / 1.256 GB, free: 6.625 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.9529, allocations: 87.08 kB / 1.256 GB, free: 6.539 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.9531, allocations: 87.58 kB / 1.256 GB, free: 6.449 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.9531, allocations: 4 kB / 1.256 GB, free: 6.445 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.9531, allocations: 8 kB / 1.256 GB, free: 6.438 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007092/0.9538, allocations: 0.6963 MB / 1.257 GB, free: 5.656 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.956, allocations: 1.623 MB / 1.258 GB, free: 3.926 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.9561, allocations: 15.94 kB / 1.258 GB, free: 3.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.9565, allocations: 103.8 kB / 1.259 GB, free: 3.809 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.9565, allocations: 4 kB / 1.259 GB, free: 3.805 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.9566, allocations: 12 kB / 1.259 GB, free: 3.793 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/0.9566, allocations: 11.98 kB / 1.259 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.9566, allocations: 7.938 kB / 1.259 GB, free: 3.773 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.9576, allocations: 0.8865 MB / 1.259 GB, free: 2.828 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.9579, allocations: 215.9 kB / 1.26 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.958, allocations: 12 kB / 1.26 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.9585, allocations: 40.16 kB / 1.26 GB, free: 2.547 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.9586, allocations: 43.84 kB / 1.26 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.9586, allocations: 23.98 kB / 1.26 GB, free: 2.48 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000578/0.9592, allocations: 0.4951 MB / 1.26 GB, free: 1.992 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9592, allocations: 0 / 1.26 GB, free: 1.992 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006851/0.9599, allocations: 200 kB / 1.26 GB, free: 1.797 MB / 0.823 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 (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.0004763/0.9604, allocations: 221 kB / 1.261 GB, free: 1.598 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007367/0.9611, allocations: 463.4 kB / 1.261 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9612, allocations: 1.562 kB / 1.261 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.9614, allocations: 213.1 kB / 1.261 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.9637, allocations: 461.2 kB / 1.262 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.9664, allocations: 2.01 MB / 1.264 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.9671, allocations: 1.024 MB / 1.265 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007368/0.9678, allocations: 206.9 kB / 1.265 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.968, allocations: 63.44 kB / 1.265 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.968, allocations: 0 / 1.265 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of Templates: time 0.04301/1.011, allocations: 14.41 MB / 1.279 GB, free: 14.91 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)