Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001582/0.001582, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002631/0.002631, allocations: 286.5 kB / 290.2 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.115/1.115, allocations: 178.6 MB / 0.5068 GB, free: 4.809 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003533/0.003533, allocations: 99.33 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1994, allocations: 89.14 MB / 0.6928 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05981/0.2592, allocations: 49.44 MB / 0.7411 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02144/0.2807, allocations: 12.74 MB / 0.7535 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003767/0.2845, allocations: 75.5 kB / 0.7536 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.2875, allocations: 0.6135 MB / 0.7542 GB, free: 5.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.2933, allocations: 1.703 MB / 0.7558 GB, free: 4.105 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.2972, allocations: 1.207 MB / 0.757 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3259/0.6232, allocations: 4.36 MB / 0.7613 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.6252, allocations: 1.074 MB / 0.7623 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.6282, allocations: 1.112 MB / 0.7634 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.6304, allocations: 0.9499 MB / 0.7643 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.6306, allocations: 67.06 kB / 0.7644 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.6332, allocations: 1.054 MB / 0.7654 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.6335, allocations: 252.9 kB / 0.7657 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008836/0.6344, allocations: 0.6421 MB / 0.7663 GB, free: 9.027 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.637, allocations: 1.912 MB / 0.7682 GB, free: 8.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.637, allocations: 0 / 0.7682 GB, free: 8.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6371, allocations: 0 / 0.7682 GB, free: 8.812 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.6371, allocations: 0.8438 kB / 0.7682 GB, free: 8.812 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00291/0.64, allocations: 1.701 MB / 0.7698 GB, free: 23.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.64, allocations: 8.969 kB / 0.7698 GB, free: 23.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/0.6407, allocations: 211.3 kB / 0.77 GB, free: 23.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.6427, allocations: 1.093 MB / 0.7711 GB, free: 23.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.6431, allocations: 120.5 kB / 0.7712 GB, free: 23.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.6432, allocations: 84 kB / 0.7713 GB, free: 23.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.6451, allocations: 0.9919 MB / 0.7723 GB, free: 23.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.6451, allocations: 7.109 kB / 0.7723 GB, free: 23.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.6452, allocations: 38.19 kB / 0.7723 GB, free: 23.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.6453, allocations: 21.69 kB / 0.7723 GB, free: 23.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.6469, allocations: 0.6561 MB / 0.773 GB, free: 23.22 MB / 0.5606 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.005765/0.6527, allocations: 4.411 MB / 0.7773 GB, free: 20.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.6539, allocations: 407 kB / 0.7777 GB, free: 20.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.6545, allocations: 224.8 kB / 0.7779 GB, free: 20.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.6556, allocations: 1.147 MB / 0.779 GB, free: 19.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.6556, allocations: 38.41 kB / 0.779 GB, free: 19.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.875e-06/0.6556, allocations: 3.938 kB / 0.779 GB, free: 19.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.003107/0.6587, allocations: 1.091 MB / 0.7801 GB, free: 18.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.6588, allocations: 53.91 kB / 0.7802 GB, free: 18.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.66, allocations: 0.9362 MB / 0.7811 GB, free: 18.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/0.6601, allocations: 38.97 kB / 0.7811 GB, free: 18.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.6605, allocations: 0.5793 MB / 0.7817 GB, free: 18.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.6606, allocations: 103.9 kB / 0.7818 GB, free: 18.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.6608, allocations: 108.8 kB / 0.7819 GB, free: 18.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6609, allocations: 322.9 kB / 0.7822 GB, free: 17.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.6615, allocations: 198.2 kB / 0.7824 GB, free: 17.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.6622, allocations: 384.3 kB / 0.7827 GB, free: 17.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.6634, allocations: 0.568 MB / 0.7833 GB, free: 17.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.6634, allocations: 1.125 kB / 0.7833 GB, free: 17.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001741/0.6651, allocations: 0.7355 MB / 0.784 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.6652, allocations: 13.52 kB / 0.784 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.6652, allocations: 5.906 kB / 0.784 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007109/0.6659, allocations: 156.3 kB / 0.7842 GB, free: 17.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.6665, allocations: 139.6 kB / 0.7843 GB, free: 17.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.6678, allocations: 1.719 MB / 0.786 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009268/0.6688, allocations: 108.3 kB / 0.7861 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.6689, allocations: 27.53 kB / 0.7861 GB, free: 15.65 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * 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: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005156/0.6694, allocations: 266.6 kB / 0.7864 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.6696, allocations: 106.9 kB / 0.7865 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.6717, allocations: 0.7448 MB / 0.7872 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.6717, allocations: 7.391 kB / 0.7872 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6717, allocations: 3.938 kB / 0.7872 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6717, allocations: 1.828 kB / 0.7872 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.6753, allocations: 1.631 MB / 0.7888 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.6754, allocations: 9.5 kB / 0.7888 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.6759, allocations: 90.02 kB / 0.7889 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005795/0.6765, allocations: 146.7 kB / 0.789 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.6765, allocations: 15.81 kB / 0.7891 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.6777, allocations: 1.71 MB / 0.7907 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6778, allocations: 5.312 kB / 0.7907 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.6795, allocations: 0.7922 MB / 0.7915 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/0.68, allocations: 249.1 kB / 0.7917 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.6801, allocations: 6.781 kB / 0.7918 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/0.6808, allocations: 71.41 kB / 0.7918 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.6809, allocations: 36.11 kB / 0.7919 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.6809, allocations: 21.08 kB / 0.7919 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000844/0.6818, allocations: 0.6305 MB / 0.7925 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6818, allocations: 0 / 0.7925 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001344/0.6831, allocations: 361.5 kB / 0.7928 GB, free: 12.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009106/0.6841, allocations: 390.9 kB / 0.7932 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.6858, allocations: 0.537 MB / 0.7937 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6858, allocations: 4 kB / 0.7937 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008955/0.6867, allocations: 295.2 kB / 0.794 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/0.6894, allocations: 0.5057 MB / 0.7945 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.6929, allocations: 2.258 MB / 0.7967 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008353/0.6938, allocations: 1.108 MB / 0.7978 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009999/0.6948, allocations: 173.5 kB / 0.798 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.695, allocations: 70.97 kB / 0.798 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of SimCode: time 1.963e-06/0.695, allocations: 1.125 kB / 0.798 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.03691/0.7319, allocations: 19.16 MB / 0.8167 GB, free: 3.492 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)