Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 196.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 222.1 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 251.7 MB / 0.5089 GB, free: 3.277 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.89 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.5005, allocations: 104.7 MB / 0.724 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2136/0.7142, allocations: 188.1 MB / 0.9077 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5374/1.252, allocations: 5.726 MB / 0.9133 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/1.253, allocations: 34.31 kB / 0.9133 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/1.255, allocations: 0.5203 MB / 0.9138 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00488/1.26, allocations: 1.633 MB / 0.9154 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003503/1.264, allocations: 1.133 MB / 0.9165 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004803/1.268, allocations: 2.67 MB / 0.9191 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/1.271, allocations: 1.012 MB / 0.9201 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/1.275, allocations: 1.016 MB / 0.9211 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003524/1.278, allocations: 0.9197 MB / 0.922 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005717/1.279, allocations: 108.2 kB / 0.9221 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/1.284, allocations: 1.601 MB / 0.9237 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/1.286, allocations: 0.5096 MB / 0.9242 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001969/1.288, allocations: 0.6499 MB / 0.9248 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006211/1.294, allocations: 2.247 MB / 0.927 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.294, allocations: 2.078 kB / 0.927 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/1.294, allocations: 2.531 kB / 0.927 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.568e-05/1.294, allocations: 0.875 kB / 0.927 GB, free: 1.535 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.0037/1.298, allocations: 1.504 MB / 0.9285 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.298, allocations: 8.188 kB / 0.9285 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/1.301, allocations: 320.1 kB / 0.9288 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/1.303, allocations: 0.785 MB / 0.9296 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004565/1.303, allocations: 128.1 kB / 0.9297 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/1.303, allocations: 88.62 kB / 0.9298 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/1.306, allocations: 1.084 MB / 0.9308 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/1.306, allocations: 1.938 kB / 0.9308 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/1.307, allocations: 39.66 kB / 0.9309 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.259e-05/1.307, allocations: 40.17 kB / 0.9309 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/1.309, allocations: 0.8409 MB / 0.9317 GB, free: 16.23 MB / 0.7325 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.007848/1.317, allocations: 4.069 MB / 0.9357 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/1.317, allocations: 362.6 kB / 0.9361 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/1.318, allocations: 209.1 kB / 0.9363 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/1.318, allocations: 101.4 kB / 0.9364 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/1.318, allocations: 39.91 kB / 0.9364 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 3.747e-06/1.318, allocations: 0 / 0.9364 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.003234/1.321, allocations: 1.331 MB / 0.9377 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/1.321, allocations: 58.16 kB / 0.9377 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/1.323, allocations: 1.006 MB / 0.9387 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/1.323, allocations: 38.58 kB / 0.9388 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/1.324, allocations: 491 kB / 0.9392 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/1.324, allocations: 138.2 kB / 0.9394 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/1.324, allocations: 126.9 kB / 0.9395 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.325, allocations: 331.7 kB / 0.9398 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/1.325, allocations: 229 kB / 0.94 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/1.326, allocations: 424.8 kB / 0.9404 GB, free: 12.54 MB / 0.7325 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.002978/1.329, allocations: 1.16 MB / 0.9416 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.329, allocations: 3.594 kB / 0.9416 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002126/1.331, allocations: 0.7487 MB / 0.9423 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.331, allocations: 9.281 kB / 0.9423 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.331, allocations: 7.938 kB / 0.9423 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/1.331, allocations: 8.875 kB / 0.9423 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/1.332, allocations: 139.1 kB / 0.9425 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/1.332, allocations: 17.64 kB / 0.9425 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.334, allocations: 92.19 kB / 0.9426 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/1.334, allocations: 26.94 kB / 0.9426 GB, free: 12.14 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (71): * Single equations (assignments): 71 * 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.0007027/1.335, allocations: 323.3 kB / 0.9429 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/1.335, allocations: 102.6 kB / 0.943 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/1.335, allocations: 101 kB / 0.9431 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.335, allocations: 6.562 kB / 0.9431 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.335, allocations: 0 / 0.9431 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008624/1.336, allocations: 0.6695 MB / 0.9437 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/1.339, allocations: 1.595 MB / 0.9453 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.339, allocations: 5.094 kB / 0.9453 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/1.34, allocations: 84.98 kB / 0.9454 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/1.34, allocations: 12.59 kB / 0.9454 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/1.34, allocations: 15.56 kB / 0.9454 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/1.34, allocations: 5.562 kB / 0.9454 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.34, allocations: 9.094 kB / 0.9454 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/1.341, allocations: 0.8549 MB / 0.9463 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/1.342, allocations: 250.2 kB / 0.9465 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/1.342, allocations: 15.91 kB / 0.9465 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008829/1.343, allocations: 56.03 kB / 0.9466 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/1.343, allocations: 36.94 kB / 0.9466 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/1.343, allocations: 25.77 kB / 0.9466 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001374/1.345, allocations: 0.7208 MB / 0.9473 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.345, allocations: 0.7812 kB / 0.9473 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001389/1.346, allocations: 249.8 kB / 0.9476 GB, free: 10.48 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.0006489/1.347, allocations: 197.9 kB / 0.9478 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001321/1.348, allocations: 0.5315 MB / 0.9483 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.348, allocations: 0 / 0.9483 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/1.349, allocations: 190.5 kB / 0.9485 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/1.352, allocations: 0.6312 MB / 0.9491 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/1.356, allocations: 2.198 MB / 0.9512 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009113/1.357, allocations: 1.113 MB / 0.9523 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001441/1.359, allocations: 246.3 kB / 0.9525 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/1.359, allocations: 72.69 kB / 0.9526 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of SimCode: time 2.014e-06/1.359, allocations: 0 / 0.9526 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of Templates: time 0.04785/1.407, allocations: 20.04 MB / 0.9722 GB, free: 3.293 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)