Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009913/0.0009915, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.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.0005772/0.0005774, allocations: 15.28 kB / 0.6735 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2574, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6271/0.8845, allocations: 156.6 MB / 0.9401 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.8984, allocations: 9.974 MB / 0.9498 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.8999, allocations: 38.34 kB / 0.9498 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.9013, allocations: 0.4969 MB / 0.9503 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.9067, allocations: 1.957 MB / 0.9522 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005656/0.9124, allocations: 2.154 MB / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.9149, allocations: 1.525 MB / 0.9558 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008039/0.9157, allocations: 0.596 MB / 0.9564 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.917, allocations: 0.7783 MB / 0.9572 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009273/0.9179, allocations: 0.685 MB / 0.9578 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.918, allocations: 43.62 kB / 0.9579 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/0.9222, allocations: 1.954 MB / 0.9598 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.9226, allocations: 347 kB / 0.9601 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.9231, allocations: 227.4 kB / 0.9603 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.9257, allocations: 1.904 MB / 0.9622 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.9257, allocations: 0 / 0.9622 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9258, allocations: 1.188 kB / 0.9622 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.9258, allocations: 1.969 kB / 0.9622 GB, free: 20.83 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003101/0.9289, allocations: 1.447 MB / 0.9636 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.9289, allocations: 10.11 kB / 0.9636 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.9306, allocations: 298.6 kB / 0.9639 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.9318, allocations: 0.7404 MB / 0.9646 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.9319, allocations: 62.14 kB / 0.9647 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.9321, allocations: 61.66 kB / 0.9647 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.9335, allocations: 0.9831 MB / 0.9657 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.9335, allocations: 5.859 kB / 0.9657 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.9336, allocations: 27.53 kB / 0.9657 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.57e-05/0.9337, allocations: 73.78 kB / 0.9658 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.9351, allocations: 1.023 MB / 0.9668 GB, free: 19.53 MB / 0.7325 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.004988/0.9401, allocations: 3.569 MB / 0.9703 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008272/0.9409, allocations: 0.6543 MB / 0.9709 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.784e-05/0.941, allocations: 21.72 kB / 0.971 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.941, allocations: 46.41 kB / 0.971 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=62): time 2.004e-06/0.941, allocations: 4 kB / 0.971 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62): time 0.001652/0.9427, allocations: 1.025 MB / 0.972 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.9428, allocations: 109.3 kB / 0.9721 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007728/0.9435, allocations: 0.7928 MB / 0.9729 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.9436, allocations: 40.08 kB / 0.9729 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.9438, allocations: 419.6 kB / 0.9733 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.944, allocations: 218.6 kB / 0.9735 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.944, allocations: 21.47 kB / 0.9736 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9442, allocations: 334.9 kB / 0.9739 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.9446, allocations: 323 kB / 0.9742 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.9451, allocations: 458.5 kB / 0.9746 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.9456, allocations: 392.2 kB / 0.975 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9456, allocations: 0 / 0.975 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001173/0.9468, allocations: 0.9073 MB / 0.9759 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/0.947, allocations: 0.8794 MB / 0.9767 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9471, allocations: 5.172 kB / 0.9767 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9471, allocations: 4.906 kB / 0.9767 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.9477, allocations: 152.3 kB / 0.9769 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.9477, allocations: 6.5 kB / 0.9769 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/0.9486, allocations: 108.2 kB / 0.977 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.9486, allocations: 31.73 kB / 0.977 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.9486, allocations: 2.844 kB / 0.977 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001001/0.9496, allocations: 0.7757 MB / 0.9778 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.9497, allocations: 0 / 0.9778 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/0.9497, allocations: 7.688 kB / 0.9778 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.9503, allocations: 146.7 kB / 0.9779 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9503, allocations: 7.438 kB / 0.9779 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.9509, allocations: 98.61 kB / 0.978 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.951, allocations: 23.19 kB / 0.9781 GB, free: 15.32 MB / 0.7325 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003972/0.9514, allocations: 376.8 kB / 0.9784 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.9515, allocations: 94.33 kB / 0.9785 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.9526, allocations: 0.7969 MB / 0.9793 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.9526, allocations: 8.094 kB / 0.9793 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9526, allocations: 0 / 0.9793 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008179/0.9534, allocations: 0.7412 MB / 0.98 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.956, allocations: 2.093 MB / 0.9821 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.9561, allocations: 6.312 kB / 0.9821 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.9567, allocations: 142 kB / 0.9822 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.974e-06/0.9567, allocations: 4.844 kB / 0.9822 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.9567, allocations: 15.12 kB / 0.9822 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.9568, allocations: 11.67 kB / 0.9822 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.9568, allocations: 6.062 kB / 0.9822 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.9585, allocations: 1.559 MB / 0.9838 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.9588, allocations: 264.1 kB / 0.984 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.959, allocations: 14.69 kB / 0.984 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.9595, allocations: 51.62 kB / 0.9841 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.9596, allocations: 52.16 kB / 0.9841 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.9597, allocations: 22.19 kB / 0.9841 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005406/0.9602, allocations: 0.5462 MB / 0.9847 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9602, allocations: 0 / 0.9847 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001672/0.9619, allocations: 0.7471 MB / 0.9854 GB, free: 12.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.9629, allocations: 0.5445 MB / 0.9859 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.9644, allocations: 1.169 MB / 0.9871 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.9644, allocations: 0 / 0.9871 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.9648, allocations: 373.6 kB / 0.9874 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.9669, allocations: 0.5087 MB / 0.9879 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.9695, allocations: 2.253 MB / 0.9901 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.9701, allocations: 1.094 MB / 0.9912 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001207/0.9713, allocations: 411.8 kB / 0.9916 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.9715, allocations: 74.95 kB / 0.9917 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.9715, allocations: 0 / 0.9917 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of Templates: time 0.03015/1.002, allocations: 21.42 MB / 1.013 GB, free: 11.46 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) Environment - environmentSimulation: