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.001412/0.001412, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001529/0.001529, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 283.9 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9265/0.9265, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 90.95 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1659, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5138/0.6798, allocations: 171 MB / 0.8486 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006766/0.6866, allocations: 4.299 MB / 0.8528 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006563/0.6873, allocations: 27.88 kB / 0.8529 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.6884, allocations: 354 kB / 0.8532 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.6911, allocations: 1.225 MB / 0.8544 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.693, allocations: 0.7861 MB / 0.8552 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.6949, allocations: 1.699 MB / 0.8568 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.6956, allocations: 0.562 MB / 0.8574 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009586/0.6965, allocations: 0.6836 MB / 0.858 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.6976, allocations: 0.5503 MB / 0.8586 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.838e-05/0.6977, allocations: 64 kB / 0.8586 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.6991, allocations: 0.799 MB / 0.8594 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.6993, allocations: 271.3 kB / 0.8597 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.6997, allocations: 406.3 kB / 0.8601 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.7011, allocations: 1.266 MB / 0.8613 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7011, allocations: 0 / 0.8613 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7011, allocations: 0 / 0.8613 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.7011, allocations: 0 / 0.8613 GB, free: 6.43 MB / 0.6231 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.001649/0.7028, allocations: 1.033 MB / 0.8623 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.7028, allocations: 8.031 kB / 0.8623 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.7038, allocations: 167 kB / 0.8625 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000872/0.7047, allocations: 0.5405 MB / 0.863 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.7048, allocations: 45.25 kB / 0.863 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.7049, allocations: 48 kB / 0.8631 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.7059, allocations: 0.6557 MB / 0.8637 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.706, allocations: 0 / 0.8637 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.706, allocations: 20 kB / 0.8637 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/0.7061, allocations: 29.25 kB / 0.8638 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009557/0.707, allocations: 0.5087 MB / 0.8643 GB, free: 3.277 MB / 0.6231 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.003574/0.7106, allocations: 2.293 MB / 0.8665 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.7112, allocations: 266.8 kB / 0.8668 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.7114, allocations: 128.8 kB / 0.8669 GB, free: 436 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.7115, allocations: 4 kB / 0.8669 GB, free: 432 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.7115, allocations: 46.44 kB / 0.8669 GB, free: 376 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.7115, allocations: 0 / 0.8669 GB, free: 376 kB / 0.6231 GB Notification: Performance of matching and sorting (n=20): time 0.001679/0.7132, allocations: 0.6706 MB / 0.8676 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.7133, allocations: 81.11 kB / 0.8677 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.7139, allocations: 0.5535 MB / 0.8682 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.7139, allocations: 37.7 kB / 0.8682 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.7142, allocations: 335.1 kB / 0.8686 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.7143, allocations: 70.94 kB / 0.8686 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.7144, allocations: 69.94 kB / 0.8687 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7145, allocations: 362.7 kB / 0.869 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.7148, allocations: 132.6 kB / 0.8692 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.7151, allocations: 218.6 kB / 0.8694 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.7156, allocations: 325.7 kB / 0.8697 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.7156, allocations: 4 kB / 0.8697 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008691/0.7165, allocations: 498.4 kB / 0.8702 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.7165, allocations: 8 kB / 0.8702 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7166, allocations: 4.266 kB / 0.8702 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.7169, allocations: 97.66 kB / 0.8703 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.7172, allocations: 67.91 kB / 0.8703 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.7202, allocations: 3.34 MB / 0.8736 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.7206, allocations: 59.45 kB / 0.8737 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.7206, allocations: 16 kB / 0.8737 GB, free: 9.008 MB / 0.6387 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.0002551/0.7209, allocations: 213.7 kB / 0.8739 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.721, allocations: 55.34 kB / 0.8739 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.853e-05/0.7211, allocations: 52.5 kB / 0.874 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7211, allocations: 4 kB / 0.874 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.7211, allocations: 0 / 0.874 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007421/0.7219, allocations: 0.5383 MB / 0.8745 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.7232, allocations: 0.9165 MB / 0.8754 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7232, allocations: 0 / 0.8754 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.7234, allocations: 49.09 kB / 0.8755 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.7236, allocations: 64.75 kB / 0.8755 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.7237, allocations: 8 kB / 0.8755 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.7253, allocations: 1.826 MB / 0.8773 GB, free: 5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.7254, allocations: 4.031 kB / 0.8773 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.726, allocations: 443.5 kB / 0.8777 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.7262, allocations: 172.4 kB / 0.8779 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.7263, allocations: 3.938 kB / 0.8779 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.7267, allocations: 19.98 kB / 0.8779 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.7268, allocations: 23.97 kB / 0.8779 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.7269, allocations: 12 kB / 0.878 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004393/0.7273, allocations: 398.8 kB / 0.8783 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7273, allocations: 0 / 0.8783 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006067/0.7279, allocations: 203.7 kB / 0.8785 GB, free: 3.707 MB / 0.6387 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.0003844/0.7283, allocations: 160.8 kB / 0.8787 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008906/0.7292, allocations: 0.5314 MB / 0.8792 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7292, allocations: 3.75 kB / 0.8792 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.7296, allocations: 255.1 kB / 0.8794 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.7311, allocations: 373 kB / 0.8798 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.7325, allocations: 0.9864 MB / 0.8808 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.733, allocations: 0.9132 MB / 0.8817 GB, free: 428 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000351/0.7334, allocations: 104.8 kB / 0.8818 GB, free: 320 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.7335, allocations: 39.38 kB / 0.8818 GB, free: 284 kB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.7335, allocations: 0 / 0.8818 GB, free: 284 kB / 0.6387 GB Notification: Performance of Templates: time 0.02806/0.7615, allocations: 13.03 MB / 0.8945 GB, free: 3.496 MB / 0.6544 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)