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.001237/0.001237, allocations: 115.6 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.001179/0.001179, allocations: 192.1 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.269/1.269, 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.002057/0.002057, allocations: 288.5 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8849/0.8849, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001645, allocations: 107.3 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1588, allocations: 86.96 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.2944/0.4532, allocations: 49.76 MB / 0.7302 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.4708, allocations: 12.68 MB / 0.7426 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.4734, allocations: 78.78 kB / 0.7426 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.4751, allocations: 0.7563 MB / 0.7434 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.4794, allocations: 1.831 MB / 0.7452 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.4826, allocations: 1.361 MB / 0.7465 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00391/0.4865, allocations: 3.259 MB / 0.7497 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.488, allocations: 1.254 MB / 0.7509 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.4907, allocations: 1.3 MB / 0.7522 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.4918, allocations: 0.9326 MB / 0.7531 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.492, allocations: 100.9 kB / 0.7532 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.4941, allocations: 1.068 MB / 0.7542 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.4944, allocations: 285.9 kB / 0.7545 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006555/0.495, allocations: 0.6815 MB / 0.7552 GB, free: 384 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.4974, allocations: 1.965 MB / 0.7571 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4974, allocations: 0 / 0.7571 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4974, allocations: 1.875 kB / 0.7571 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.4974, allocations: 0 / 0.7571 GB, free: 15.12 MB / 0.5294 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.00229/0.4997, allocations: 1.711 MB / 0.7588 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.4997, allocations: 9.844 kB / 0.7588 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.5003, allocations: 206.5 kB / 0.759 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.502, allocations: 1.092 MB / 0.76 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.5021, allocations: 61.88 kB / 0.7601 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-05/0.5022, allocations: 87.31 kB / 0.7602 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.5036, allocations: 1.012 MB / 0.7612 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.5036, allocations: 1.781 kB / 0.7612 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.5037, allocations: 37.72 kB / 0.7612 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.5037, allocations: 20.78 kB / 0.7612 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.505, allocations: 0.6454 MB / 0.7618 GB, free: 11.77 MB / 0.5294 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.004311/0.5093, allocations: 4.726 MB / 0.7665 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/0.5103, allocations: 405.4 kB / 0.7668 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.5108, allocations: 217.1 kB / 0.7671 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007417/0.5115, allocations: 1.156 MB / 0.7682 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.5115, allocations: 38.56 kB / 0.7682 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.5115, allocations: 0 / 0.7682 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002491/0.514, allocations: 1.074 MB / 0.7693 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.5141, allocations: 51.41 kB / 0.7693 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5151, allocations: 0.9753 MB / 0.7703 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.5151, allocations: 37.7 kB / 0.7703 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.5155, allocations: 0.5811 MB / 0.7709 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.5156, allocations: 118.4 kB / 0.771 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.5158, allocations: 122 kB / 0.7711 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.5159, allocations: 322 kB / 0.7714 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.5163, allocations: 193 kB / 0.7716 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.5169, allocations: 402.3 kB / 0.772 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.518, allocations: 0.6042 MB / 0.7726 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.518, allocations: 0 / 0.7726 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001428/0.5194, allocations: 0.7605 MB / 0.7733 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5195, allocations: 8 kB / 0.7733 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5195, allocations: 8 kB / 0.7733 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.5201, allocations: 154.6 kB / 0.7735 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.5206, allocations: 143.7 kB / 0.7736 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009844/0.5216, allocations: 1.723 MB / 0.7753 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.5223, allocations: 91.44 kB / 0.7754 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.5224, allocations: 31.98 kB / 0.7754 GB, free: 13.74 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * 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.0003365/0.5227, allocations: 265.6 kB / 0.7757 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.5229, allocations: 106.7 kB / 0.7758 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.5245, allocations: 0.7232 MB / 0.7765 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.5245, allocations: 4.188 kB / 0.7765 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5245, allocations: 3.938 kB / 0.7765 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5245, allocations: 3.984 kB / 0.7765 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.527, allocations: 1.633 MB / 0.7781 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5271, allocations: 192 / 0.7781 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.5275, allocations: 95.84 kB / 0.7782 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/0.528, allocations: 142.5 kB / 0.7783 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.528, allocations: 15.92 kB / 0.7783 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009192/0.529, allocations: 1.716 MB / 0.78 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.529, allocations: 4.031 kB / 0.78 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.5303, allocations: 0.77 MB / 0.7808 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.5307, allocations: 247.5 kB / 0.781 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5308, allocations: 8 kB / 0.781 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.5313, allocations: 47.94 kB / 0.781 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.5314, allocations: 31.84 kB / 0.7811 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.5314, allocations: 19.98 kB / 0.7811 GB, free: 7.664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007072/0.5321, allocations: 0.6697 MB / 0.7817 GB, free: 6.988 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5321, allocations: 0 / 0.7817 GB, free: 6.988 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009408/0.5331, allocations: 379.1 kB / 0.7821 GB, free: 6.617 MB / 0.545 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.0006666/0.5338, allocations: 403.9 kB / 0.7825 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.5351, allocations: 0.5601 MB / 0.783 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5351, allocations: 0 / 0.783 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006939/0.5358, allocations: 296.8 kB / 0.7833 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.5377, allocations: 0.5305 MB / 0.7838 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.54, allocations: 1.795 MB / 0.7856 GB, free: 3.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.5406, allocations: 1.107 MB / 0.7867 GB, free: 1.887 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004826/0.5411, allocations: 195.3 kB / 0.7869 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.5412, allocations: 67.42 kB / 0.7869 GB, free: 1.629 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.5412, allocations: 0 / 0.7869 GB, free: 1.629 MB / 0.545 GB Notification: Performance of Templates: time 0.03286/0.5741, allocations: 20.68 MB / 0.8071 GB, free: 13.27 MB / 0.5762 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)