Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005558/0.005558, allocations: 100.5 kB / 15.73 MB, free: 6.016 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.001121/0.001121, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.487/1.487, allocations: 205.1 MB / 222.5 MB, free: 4.371 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.578/1.578, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001443/0.001443, allocations: 73.77 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2431, allocations: 104.7 MB / 0.828 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7671/1.01, allocations: 171.2 MB / 0.9952 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006942/1.017, allocations: 4.367 MB / 0.9995 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008216/1.018, allocations: 20.75 kB / 0.9995 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/1.019, allocations: 376.4 kB / 0.9999 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003381/1.023, allocations: 1.247 MB / 1.001 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/1.025, allocations: 0.8398 MB / 1.002 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00243/1.027, allocations: 1.871 MB / 1.004 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007484/1.028, allocations: 0.6067 MB / 1.004 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/1.029, allocations: 0.7349 MB / 1.005 GB, free: 0.9805 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/1.031, allocations: 0.5748 MB / 1.006 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/1.031, allocations: 70.44 kB / 1.006 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/1.033, allocations: 0.8013 MB / 1.006 GB, free: 232 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004278/1.033, allocations: 296.8 kB / 1.007 GB, free: 28 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000773/1.034, allocations: 429.6 kB / 1.007 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003173/1.037, allocations: 1.336 MB / 1.008 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.037, allocations: 0 / 1.008 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.984e-06/1.037, allocations: 0 / 1.008 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.903e-05/1.037, allocations: 0 / 1.008 GB, free: 14.9 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002182/1.04, allocations: 1.085 MB / 1.01 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.04, allocations: 14.16 kB / 1.01 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/1.041, allocations: 166.1 kB / 1.01 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/1.042, allocations: 0.5536 MB / 1.01 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/1.042, allocations: 40.03 kB / 1.01 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/1.042, allocations: 55.09 kB / 1.01 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/1.043, allocations: 0.6775 MB / 1.011 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/1.043, allocations: 0 / 1.011 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/1.043, allocations: 28.62 kB / 1.011 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/1.043, allocations: 25.3 kB / 1.011 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009405/1.044, allocations: 0.5122 MB / 1.012 GB, free: 12.78 MB / 0.7637 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.003388/1.047, allocations: 2.33 MB / 1.014 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/1.048, allocations: 247 kB / 1.014 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/1.048, allocations: 133.5 kB / 1.014 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/1.048, allocations: 10.89 kB / 1.014 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/1.048, allocations: 43.22 kB / 1.014 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/1.048, allocations: 0 / 1.014 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20): time 0.001703/1.05, allocations: 0.6672 MB / 1.015 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/1.05, allocations: 87.92 kB / 1.015 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/1.051, allocations: 0.5782 MB / 1.016 GB, free: 9.684 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/1.051, allocations: 34.05 kB / 1.016 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/1.051, allocations: 342.4 kB / 1.016 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/1.051, allocations: 80.89 kB / 1.016 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/1.051, allocations: 70.42 kB / 1.016 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.051, allocations: 359 kB / 1.016 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/1.052, allocations: 129.4 kB / 1.017 GB, free: 8.82 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/1.052, allocations: 224 kB / 1.017 GB, free: 8.637 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/1.052, allocations: 343 kB / 1.017 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.052, allocations: 0 / 1.017 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008793/1.053, allocations: 0.4988 MB / 1.018 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.053, allocations: 4.812 kB / 1.018 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.053, allocations: 6.656 kB / 1.018 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/1.054, allocations: 101.3 kB / 1.018 GB, free: 8.062 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/1.054, allocations: 67.59 kB / 1.018 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/1.057, allocations: 3.336 MB / 1.021 GB, free: 4.848 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/1.058, allocations: 53.38 kB / 1.021 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/1.058, allocations: 18.95 kB / 1.021 GB, free: 4.805 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003339/1.058, allocations: 223.6 kB / 1.021 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.058, allocations: 62.08 kB / 1.021 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/1.058, allocations: 58.08 kB / 1.021 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.058, allocations: 2.406 kB / 1.021 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.058, allocations: 2.438 kB / 1.021 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007469/1.059, allocations: 0.5246 MB / 1.022 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/1.06, allocations: 0.9294 MB / 1.023 GB, free: 3.359 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.06, allocations: 3.5 kB / 1.023 GB, free: 3.359 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/1.061, allocations: 46 kB / 1.023 GB, free: 3.344 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/1.061, allocations: 65.5 kB / 1.023 GB, free: 3.309 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/1.061, allocations: 10.61 kB / 1.023 GB, free: 3.301 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/1.063, allocations: 1.814 MB / 1.025 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.063, allocations: 6.984 kB / 1.025 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/1.063, allocations: 442.8 kB / 1.025 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/1.063, allocations: 180 kB / 1.025 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/1.064, allocations: 10.08 kB / 1.025 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/1.064, allocations: 29.59 kB / 1.025 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/1.064, allocations: 19.81 kB / 1.025 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/1.064, allocations: 26.08 kB / 1.025 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004778/1.065, allocations: 412.8 kB / 1.026 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.5e-07/1.065, allocations: 0 / 1.026 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006801/1.065, allocations: 211.6 kB / 1.026 GB, free: 0.8203 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003823/1.066, allocations: 164.9 kB / 1.026 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008774/1.067, allocations: 0.524 MB / 1.027 GB, free: 320 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.067, allocations: 448 / 1.027 GB, free: 320 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/1.067, allocations: 250.5 kB / 1.027 GB, free: 56 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.069, allocations: 385.8 kB / 1.027 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/1.07, allocations: 1.029 MB / 1.028 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/1.071, allocations: 0.9171 MB / 1.029 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004001/1.071, allocations: 108.9 kB / 1.029 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.761e-05/1.071, allocations: 39.44 kB / 1.029 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/1.071, allocations: 0 / 1.029 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.02367/1.095, allocations: 13.7 MB / 1.043 GB, free: 84 kB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)