Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001239/0.001239, allocations: 103.5 kB / 15.98 MB, free: 5.891 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.001225/0.001225, allocations: 191.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.6 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 278.8 kB / 291 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9156/0.9156, allocations: 169.2 MB / 0.4985 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 93.94 kB / 0.5953 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1624, allocations: 86.99 MB / 0.6803 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4986/0.661, allocations: 168.7 MB / 0.8451 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006888/0.6679, allocations: 4.275 MB / 0.8492 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.6691, allocations: 20.31 kB / 0.8493 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.6703, allocations: 308.5 kB / 0.8495 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.6739, allocations: 1.149 MB / 0.8507 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.676, allocations: 0.7316 MB / 0.8514 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002075/0.6781, allocations: 1.686 MB / 0.853 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006694/0.6788, allocations: 0.5565 MB / 0.8536 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.6798, allocations: 0.6826 MB / 0.8542 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.6809, allocations: 0.596 MB / 0.8548 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.788e-05/0.681, allocations: 66.25 kB / 0.8549 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.6826, allocations: 0.8311 MB / 0.8557 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.6828, allocations: 273.1 kB / 0.856 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.6832, allocations: 404 kB / 0.8563 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.6845, allocations: 0.9611 MB / 0.8573 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6845, allocations: 2.875 kB / 0.8573 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6845, allocations: 0 / 0.8573 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.6845, allocations: 0 / 0.8573 GB, free: 9.344 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001839/0.6864, allocations: 1.035 MB / 0.8583 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6864, allocations: 10.06 kB / 0.8583 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.6874, allocations: 170 kB / 0.8585 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007786/0.6882, allocations: 0.5115 MB / 0.859 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.6883, allocations: 43.88 kB / 0.859 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.6883, allocations: 50.44 kB / 0.8591 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.6895, allocations: 0.6546 MB / 0.8597 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6895, allocations: 3.938 kB / 0.8597 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.6896, allocations: 28.48 kB / 0.8597 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.6896, allocations: 24.47 kB / 0.8598 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008848/0.6905, allocations: 0.5091 MB / 0.8602 GB, free: 7.312 MB / 0.5762 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.003257/0.6938, allocations: 2.309 MB / 0.8625 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.6943, allocations: 252.9 kB / 0.8627 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.6945, allocations: 136.7 kB / 0.8629 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.6946, allocations: 2.469 kB / 0.8629 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.6946, allocations: 45 kB / 0.8629 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.6946, allocations: 0 / 0.8629 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001677/0.6963, allocations: 0.6624 MB / 0.8636 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.6964, allocations: 86.34 kB / 0.8637 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.697, allocations: 0.5564 MB / 0.8642 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.697, allocations: 31.95 kB / 0.8642 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.6973, allocations: 345.2 kB / 0.8646 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.6973, allocations: 69.09 kB / 0.8646 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.6975, allocations: 73.56 kB / 0.8647 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6976, allocations: 363.2 kB / 0.865 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.6979, allocations: 125.7 kB / 0.8652 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.6982, allocations: 219 kB / 0.8654 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.6987, allocations: 326.5 kB / 0.8657 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6987, allocations: 0 / 0.8657 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008589/0.6995, allocations: 0.4985 MB / 0.8662 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6996, allocations: 11 kB / 0.8662 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6996, allocations: 2.406 kB / 0.8662 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.6999, allocations: 93.34 kB / 0.8663 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.7002, allocations: 79.38 kB / 0.8663 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.7033, allocations: 3.35 MB / 0.8696 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.7039, allocations: 61.86 kB / 0.8697 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.704, allocations: 15.66 kB / 0.8697 GB, free: 15.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0003157/0.7043, allocations: 216.3 kB / 0.8699 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.7044, allocations: 57.53 kB / 0.8699 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.141e-05/0.7045, allocations: 58.25 kB / 0.87 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7045, allocations: 0 / 0.87 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7045, allocations: 4.688 kB / 0.87 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000741/0.7053, allocations: 0.5328 MB / 0.8705 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.7065, allocations: 0.9206 MB / 0.8714 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7065, allocations: 0 / 0.8714 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.7067, allocations: 40.34 kB / 0.8715 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.7069, allocations: 69.89 kB / 0.8715 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.707, allocations: 4 kB / 0.8715 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.7087, allocations: 1.829 MB / 0.8733 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7087, allocations: 0 / 0.8733 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.7094, allocations: 447.4 kB / 0.8737 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.7096, allocations: 166.3 kB / 0.8739 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.7097, allocations: 9.938 kB / 0.8739 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.7101, allocations: 38.92 kB / 0.874 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.7102, allocations: 22.16 kB / 0.874 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.7103, allocations: 15.73 kB / 0.874 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004606/0.7107, allocations: 394.9 kB / 0.8744 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7107, allocations: 0 / 0.8744 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006919/0.7114, allocations: 203.7 kB / 0.8746 GB, free: 11.46 MB / 0.5919 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.0003838/0.7118, allocations: 157.5 kB / 0.8747 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009346/0.7128, allocations: 0.5507 MB / 0.8752 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7128, allocations: 6.094 kB / 0.8753 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.7131, allocations: 253.2 kB / 0.8755 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.7147, allocations: 381.2 kB / 0.8759 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.7164, allocations: 1.238 MB / 0.8771 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.7169, allocations: 0.9025 MB / 0.8779 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.717, allocations: 46.55 kB / 0.878 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.717, allocations: 4 kB / 0.878 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of Templates: time 0.04194/0.759, allocations: 13.41 MB / 0.8911 GB, free: 15.01 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)